Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream_ssl_module.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 | 419c066cb710 |
children | a550d4fa3581 eb6c77e6d55d |
comparison
equal
deleted
inserted
replaced
8581:51f463301f86 | 8582:0dcec8e5d50a |
---|