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
c971d2ad9f
commit
950596248d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue