nginx-quic/src
Roman Arutyunyan 2d72193dc0 HTTP/3: skip empty request body buffers (ticket #2374).
When client DATA frame header and its content come in different QUIC packets,
it may happen that only the header is processed by the first
ngx_http_v3_request_body_filter() call.  In this case an empty request body
buffer is added to r->request_body->bufs, which is later reused in a
subsequent ngx_http_v3_request_body_filter() call without being removed from
the body chain.  As a result, rb->request_body->bufs ends up with two copies of
the same buffer.

The fix is to avoid adding empty request body buffers to r->request_body->bufs.
2022-08-03 16:59:51 +04:00
..
core Merged with the default branch. 2022-07-26 19:54:11 +04:00
event QUIC: removed ngx_quic_keys_new(). 2022-07-27 17:31:16 +04:00
http HTTP/3: skip empty request body buffers (ticket #2374). 2022-08-03 16:59:51 +04:00
mail Mail: connections with wrong ALPN protocols are now rejected. 2021-10-20 09:45:34 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Merged with the default branch. 2022-07-26 19:54:11 +04:00
stream Merged with the default branch. 2022-07-26 19:54:11 +04:00