Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request_body.c @ 8582:0dcec8e5d50a
HTTP/2: reworked body reading to better match HTTP/1.x code.
In particular, now the code always uses a buffer limited by
client_body_buffer_size. At the cost of an additional copy it
ensures that small DATA frames are not directly mapped to small
write() syscalls, but rather buffered in memory before writing.
Further, requests without Content-Length are no longer forced
to use temporary files.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 29 Aug 2021 22:20:36 +0300 |
parents | 967cfa6e2ff8 |
children | 507da0d3b070 d869e43643ac |
comparison
equal
deleted
inserted
replaced
8581:51f463301f86 | 8582:0dcec8e5d50a |
---|