mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
read EOF of header only responses in non-buffered proxying
This commit is contained in:
parent
ec67b19ea0
commit
3dea919675
@ -1490,6 +1490,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