From 8645ba98535b410b5ec575ef3d0d190f3779712c Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Mon, 31 Dec 2001 20:46:22 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index cbac68fa8f..4b73b1e81a 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, -- 2.50.1