httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Mon, 31 Dec 2001 20:46:22 GMT
stoddard    01/12/31 12:46:22

  Modified:    modules/proxy proxy_http.c
  Log:
  Change the call to be blocking to eliminate a loop caused when the upstream
  host does not send any bytes back our way.
  
  Revision  Changes    Path
  1.115     +1 -1      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- proxy_http.c	19 Dec 2001 16:32:01 -0000	1.114
  +++ proxy_http.c	31 Dec 2001 20:46:22 -0000	1.115
  @@ -839,7 +839,7 @@
                   readbytes = AP_IOBUFSIZE;
                   while (ap_get_brigade(rp->input_filters, 
                                          bb, 
  -                                      AP_MODE_NONBLOCKING, 
  +                                      AP_MODE_BLOCKING, 
                                         &readbytes) == APR_SUCCESS) {
   #if DEBUGGING
                       ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0,
  
  
  

Mime
View raw message