DO NOT REPLY [Bug 7572] - mod_proxy does not reset timer when reading from client DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7572>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7572
mod_proxy does not reset timer when reading from client
- Additional Comments From brian.bothwell@wisdomtools.com 2002-03-28 18:44 -------
Here's the patch for 1.3.24:
(just a change of line #'s since 1.3.9)
- proxy_http.c Thu Mar 28 13:42:32 2002
--- proxy_http.c.patched Thu Mar 28 13:42:17 2002
- 377,384 ****
/* send the request data, if any. */
if (ap_should_client_block(r)) {
! while ((i = ap_get_client_block(r, buffer, sizeof buffer)) > 0)
! ap_bwrite(f, buffer, i);
}
ap_bflush(f);
ap_kill_timeout(r);
--- 377,386 ----
/* send the request data, if any. */
if (ap_should_client_block(r)) {
! 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
Received on Thu Mar 28 18:44:15 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 16:43:02 EDT
|