]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: do not decode if conn in error
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Apr 2025 15:06:22 +0000 (17:06 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Apr 2025 12:15:02 +0000 (14:15 +0200)
commit6c5030f703e29bfd8deeace111bcedc6835c7065
tree1e94bf0d12a8311a594610f0dc8805291ac41779
parentfbedb8746f2c525b6be1de5e9634fd7d4d2a8cb3
BUG/MINOR: mux-quic: do not decode if conn in error

Add an early return to qcc_decode_qcs() if QCC instance is flagged on
error and connection is scheduled for immediate closure.

The main objective is to ensure to not trigger BUG_ON() from
qcc_set_error() : if a stream decoding has set the connection error, do
not try to process decoding on other streams as they may also encounter
an error. Thus, the connection is closed asap with the first encountered
error case.

This should be backported up to 2.6, after a period of observation.
src/mux_quic.c