Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 7910:1d78437dbc3f
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 29 Aug 2021 22:20:44 +0300 |
parents | f302c1096f7b |
children | 9cf043a5d9ca |
comparison
equal
deleted
inserted
replaced
7909:f302c1096f7b | 7910:1d78437dbc3f |
---|---|
4037 | 4037 |
4038 } else { | 4038 } else { |
4039 len++; | 4039 len++; |
4040 } | 4040 } |
4041 | 4041 |
4042 if (r->request_body_no_buffering && !stream->in_closed) { | 4042 if (r->request_body_no_buffering) { |
4043 | 4043 |
4044 /* | 4044 /* |
4045 * We need a room to store data up to the stream's initial window size, | 4045 * We need a room to store data up to the stream's initial window size, |
4046 * at least until this window will be exhausted. | 4046 * at least until this window will be exhausted. |
4047 */ | 4047 */ |