]> git.kaiwu.me - haproxy.git/commit
MINOR: mux_quic: handle conn errors on QMux without crash
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Apr 2026 13:37:34 +0000 (15:37 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 24 Apr 2026 07:33:04 +0000 (09:33 +0200)
commit61e839c07ee81dd082d492a9d1e2faffb34655f0
tree2e40549d06d08c247be77534bea7510ba91c6586
parent02bfbddce3fe7f96a7fe37b9d17e917f26e78cca
MINOR: mux_quic: handle conn errors on QMux without crash

Remove BUG_ON() related to connection errors when invoking XPRT
snd_buf/rcv_buf in QMux operations. Such errors are now converted in
QC_CF_ERR_CONN flag, which will disable any I/O operations and close the
connection as soon as possible.

Note that this error management is pretty crude. In particular, it could
lead to truncated data when dealing with unidirectional connection
closure from the remote peer. However, it is considered sufficient for
now to continue interop testing without being disturbed by BUG_ON()
assertion crashes.
src/mux_quic_qstrm.c