mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
HTTP/2: improved handling of preread unbuffered requests.
Previously, fully preread unbuffered requests larger than client body buffer size were saved to disk, despite the fact that "unbuffered" is expected to imply no disk buffering.
This commit is contained in:
parent
9f90d11cf5
commit
2862eb40e8
@ -4039,7 +4039,7 @@ ngx_http_v2_read_request_body(ngx_http_request_t *r)
|
||||
len++;
|
||||
}
|
||||
|
||||
if (r->request_body_no_buffering && !stream->in_closed) {
|
||||
if (r->request_body_no_buffering) {
|
||||
|
||||
/*
|
||||
* We need a room to store data up to the stream's initial window size,
|
||||
|
Loading…
Reference in New Issue
Block a user