mirror of
https://github.com/nginx/nginx.git
synced 2025-06-09 02:42:48 +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);
|
ngx_http_upstream_finalize_request(r, u, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (u->peer.connection->read->ready) {
|
||||||
|
ngx_http_upstream_process_non_buffered_body(
|
||||||
|
u->peer.connection->read);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user