]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: abort request if not completed before full response
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Aug 2023 14:10:18 +0000 (16:10 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Aug 2023 14:17:16 +0000 (16:17 +0200)
commit559482c11e605b0f19714e47368a9a5ccbdca3cb
tree788f878f821692455a98365d7ebc6b905fa2519c
parentf40a72a7fffe5a926d8a01547fa19a686fe591b5
MINOR: h3: abort request if not completed before full response

A HTTP server may provide a complete response even prior receiving the
full request. In this case, RFC 9114 allows the server to abort read
with a STOP_SENDING with error code H3_NO_ERROR.

This scenario was notably reproduced with haproxy and an inactive
server. If the client send a POST request, haproxy may provide a full
HTTP 503 response before the end of the full request.
include/haproxy/mux_quic.h
src/h3.c
src/mux_quic.c