commit | 32d01402c64c7da7ec7e6c9cce3ed4701c6ca110 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sun Aug 29 22:20:36 2021 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sun Aug 29 22:20:36 2021 +0300 |
tree | 087eb8c431e659b665a5d00b5a7e3d5b0e1605ef | |
parent | bb64ea2aa4309c2134fd9d47dcfdb7af9a00f6ae [diff] |
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.