aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:20:36 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-08-29 22:20:36 +0300
commit78d9a3af91a31bb77ad74aca7286f1ef2dad89d6 (patch)
tree087eb8c431e659b665a5d00b5a7e3d5b0e1605ef /src/os/unix/ngx_linux_config.h
parent301efb8a73b7f14e41e2238cfef50b2b98137eab (diff)
downloadnginx-78d9a3af91a31bb77ad74aca7286f1ef2dad89d6.tar.gz
nginx-78d9a3af91a31bb77ad74aca7286f1ef2dad89d6.zip
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.
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
0 files changed, 0 insertions, 0 deletions