httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7572] - mod_proxy does not reset timer when reading from client
Date Thu, 28 Mar 2002 18:44:17 GMT
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


Mime
View raw message