Mercurial > hg > nginx
changeset 1468:491e5059ea19
read EOF of header only responses in non-buffered proxying
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 09 Sep 2007 18:32:53 +0000 |
parents | e5352b711c47 |
children | 0a269c464eaf |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Sun Sep 09 18:28:49 2007 +0000 +++ b/src/http/ngx_http_upstream.c Sun Sep 09 18:32:53 2007 +0000 @@ -1490,6 +1490,11 @@ 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;