# HG changeset patch # User Igor Sysoev # Date 1189362773 0 # Node ID 491e5059ea19f7bc8d86c8c6ccd287572a654540 # Parent e5352b711c47b6e3f7e7e7e32831f196b450b6ce read EOF of header only responses in non-buffered proxying diff -r e5352b711c47 -r 491e5059ea19 src/http/ngx_http_upstream.c --- 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;