]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux_quic: prevent QMux crash on qcc_io_send() error path
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Apr 2026 08:37:09 +0000 (10:37 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 13 Apr 2026 07:11:08 +0000 (09:11 +0200)
commitb5624a63650cae1f09a5ca1169602174b05b58aa
tree5110614b05592515ccfa1b9ea9c2a561328999ce
parentfb82dece4782ee146e42b17f5c7603d4371059c9
BUG/MINOR: mux_quic: prevent QMux crash on qcc_io_send() error path

A QCC connection may be flagged with QC_CF_ERRL to trigger a
CONNECTION_CLOSE emission. However, for now error reporting is not
functional with QMux, as it relies on quic_conn layer access.

To prevent a crash in qcc_io_send() when using QMux, add a
conn_is_quic() check when QC_CF_ERRL is set to ensure no access will be
performed on quic_conn layer. In the future, this should be extended so
that QMux is also able to emit CONNECTION_CLOSE for connection closure.

No need to backport.
src/mux_quic.c