]> git.kaiwu.me - haproxy.git/commit
BUG/MAJOR: mux-quic: fail on impossible data transfers in rcv_buf()
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Nov 2026 16:55:22 +0000 (17:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Nov 2026 17:38:15 +0000 (18:38 +0100)
commit943b9ce4af536a55b5ee7654ecea83d3a232cb28
tree991e44d91c134a58ca0d8461f13f27786983c2ef
parent9c52a0b088e3958e1f801854b78a04a3819365c1
BUG/MAJOR: mux-quic: fail on impossible data transfers in rcv_buf()

When some data couldn't be transferred from the rxbuf to the channel,
leaving the channel empty (e.g. due to the reserve), we must not set
SE_FL_WANT_ROOM otherwise we cannot get out of this situation and
sc_conn_recv() detects it and panics. Let's just report a stream
error for non-fragmentable contents that exceed the maximum size
and stop here.

This must be backported to all versions.
src/mux_quic.c