mirror of
https://github.com/nginx/nginx.git
synced 2025-07-24 14:16:20 +08:00
r1469 merge:
read EOF of header only responses in non-buffered proxying
This commit is contained in:
parent
18084d4999
commit
ce0596d2ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user