]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux_quic: extend FINAL_SIZE_ERROR detection on stream
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 29 Sep 2026 09:49:13 +0000 (11:49 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 6 Oct 2026 15:12:36 +0000 (17:12 +0200)
commitb5fde1e57458bd0790f8c84c595ae76663e762fe
treec09119eeec8abff55e5a769794e2227454fd7f5b
parentefc9402388fb7386c62e9373902a8c8edddca52f
BUG/MINOR: mux_quic: extend FINAL_SIZE_ERROR detection on stream

On STREAM reception, a frame is rejected if final size is known but a
frame which exceeds it is received. Connection is closed with
FINAL_SIZE_ERROR code. This is also the case for a frame with FIN set
but shorter than the already received maximum offset.

This patch rewrites the condition so that the second check on frame with
FIN is always performed. Indeed, it does not depend on the known final
size status. A similar test is already performed as expected in the
RESET_STREAM frame handler.

This must be backported up to 2.6.
src/mux_quic.c