comparison src/core/ngx_connection.c @ 7908: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 46815874bcc6
children 07b0bee87f32 6674a50cbb6c
comparison
equal deleted inserted replaced
7907:51f463301f86 7908:0dcec8e5d50a