]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: ignore STREAM after MUX closure on BE side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 17 Jun 2026 16:05:52 +0000 (18:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 6 Jul 2026 08:19:12 +0000 (10:19 +0200)
commit73a4f6bea70d4035dd2f5c4ec6d65f3b749a08b0
tree35f18ecf039de340ab6bbe23932050a027b7f2e1
parentbf76275fff4869fa2925ab4d627b677d45e528d6
BUG/MINOR: quic: ignore STREAM after MUX closure on BE side

For frontend connections, quic_conn layer is able to reject any new
streams opened after MUX closure. This is necessary as the peer may not
have been notified yet of the closure.

This operation is unnecessary on backend side. This is due to the fact
that only HTTP protocols are currently supported on top of QUIC, with
requests initiated by the client. For requests started before the MUX
closure, either they are already completed or closed early with a
STOP_SENDING emitted during stream shut.

Prior to this patch, spurrious RESET_STREAM could have been emitted on
backend connections after MUX closure as quic_conn stream_max_bidi was
not correctly set. Now reject is only performed for frontend connections
so this should not occured anymore.

This should be backported up to 3.3.
src/mux_quic.c
src/quic_rx.c