From: Bill Stoddard Date: Mon, 31 Dec 2001 20:46:22 +0000 (+0000) Subject: Change the call to be blocking to eliminate a loop caused when the upstream X-Git-Tag: 2.0.30~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=826df1bb82364c62e03ec75e7082e3c33bda9ed0;p=thirdparty%2Fapache%2Fhttpd.git Change the call to be blocking to eliminate a loop caused when the upstream 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 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index cbac68fa8fb..4b73b1e81ac 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -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,