]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: quic: limit reject after MUX closure to once per stream
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 12 Nov 2026 09:34:53 +0000 (10:34 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 12 Nov 2026 13:58:02 +0000 (14:58 +0100)
commit8de80ccc96000a1780969497c2b00be6eef89c1f
treefc47c7ba87048e4c3d549d3362513c21c9a2501d
parent5d5f32111b49225b43d0865c4160d6ce925ec6f1
BUG/MEDIUM: quic: limit reject after MUX closure to once per stream

This patch is a follow-up to the previous one. The objective is to limit
the number of allocated frames after MUX closure for STREAM handling.

Ensures that each stream is closed only once. This is performed by
incrementing the ID stored in the quic_conn structure each time a stream
is rejected. If a non-contiguous ID is received, all intermediary
streams are rejected as well.

Along with the previous patch which ensures that stream IDs higher than
the flow control limit cause an immediate closure, this guarantees that
frame allocation for stream rejection after MUX closure remains low and
bounded.

This must be backported up to 2.6 after a period of observation.
include/haproxy/quic_conn-t.h
src/quic_rx.c