Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-23 23:21:45 +0400
committerIgor Sysoev <igor@sysoev.ru>2007-09-23 23:21:45 +0400
commitce0596d2ceefbba681534b29d5a415a6b914a9a7 (patch)
tree499018fa3b3e90dc7b68936f3a7efff168d52f31 /src/http
parent18084d4999e59bda2404f3e60936653b69fb319d (diff)
r1469 merge:
read EOF of header only responses in non-buffered proxying
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_upstream.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 2140d855d..7986f0fdf 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1488,6 +1488,11 @@ ngx_http_upstream_send_response(ngx_http_request_t *r, ngx_http_upstream_t *u)
ngx_http_upstream_finalize_request(r, u, 0);
return;
}
+
+ if (u->peer.connection->read->ready) {
+ ngx_http_upstream_process_non_buffered_body(
+ u->peer.connection->read);
+ }
}
return;