]> granicus.if.org Git - apache/commitdiff
Change the call to be blocking to eliminate a loop caused when the upstream
authorBill Stoddard <stoddard@apache.org>
Mon, 31 Dec 2001 20:46:22 +0000 (20:46 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 31 Dec 2001 20:46:22 +0000 (20:46 +0000)
host does not send any bytes back our way.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92691 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index cbac68fa8fba834523d84626a7d4e01f714ea9e9..4b73b1e81aca9a9a98d30734dc203ade11557e42 100644 (file)
@@ -839,7 +839,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
                 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,