or slow POST requests to close after 300 seconds.
PR: 7572
Obtained from:
Submitted by: Martin Lichtin <martin@lichtin.net>, Brian Bothwell <brian.bothwell@wisdomtools.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@94524
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.25
+ *) Correct a timeout problem within proxy which would force long
+ or slow POST requests to close after 300 seconds.
+ [Martin Lichtin <martin@lichtin.net>, Brian Bothwell
+ <brian.bothwell@wisdomtools.com>]
+
*) Add support for dechunking chunked responses in proxy.
[Graham Leggett]
/* send the request data, if any. */
if (ap_should_client_block(r)) {
- while ((i = ap_get_client_block(r, buffer, sizeof buffer)) > 0)
+ while ((i = ap_get_client_block(r, buffer, sizeof buffer)) > 0) {
+ ap_reset_timeout(r);
ap_bwrite(f, buffer, i);
+ }
}
ap_bflush(f);
ap_kill_timeout(r);