]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2/quic: Stop sending via fast-forward if stream is closed
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 08:26:02 +0000 (09:26 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 08:44:09 +0000 (09:44 +0100)
commitcda056b9f4c73be728e64baf402198f984318632
tree73d6b2dc3e702463a13095bf8a42168a4a359da5
parent2f94f61c3167f12a08072d8993893401abc17152
BUG/MEDIUM: mux-h2/quic: Stop sending via fast-forward if stream is closed

If is illegal to send data if the stream is already closed. The case is
properly handled when data are sent via snd_buf(), by draining the data. But
it was still possible to process these data via nego_ff().

So, in this patch, both for the H2 and QUIC multiplexers, the fast-forward
is disabled if the stream is closed and nothing is performed. Doing so, we
will automatically fall back on the regular sending path and be able to
drain data in snd_buf().

Thanks to Mike Walker for his investigation on the subject.

This patch should be backported as far as 3.0.
src/mux_h2.c
src/mux_quic.c