]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: mux-quic: properly fix BUG_ON on empty STREAM emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Jan 2025 09:59:43 +0000 (10:59 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Jan 2025 10:25:40 +0000 (11:25 +0100)
commitddfd8031f895b448604cbc259f74e6cb7b086b0b
treea264fdfbde22c82abf73071b6c2437a4e2adab99
parent85e27f1e92d0d6fd4dd0588992d3da3039a065f9
BUG/MAJOR: mux-quic: properly fix BUG_ON on empty STREAM emission

Properly fix BUG_ON() occurence when QUIC MUX emits only empty STREAM
frames. This was addressed by a previous patch but it causes another
regression so a revert was needed.

BUG_ON() on qcc_build_frms() return value is invalid. Indeed,
qcc_build_frms() may return 0, but this does not imply that frame list
is empty, as encoded frames can have a zero length payload. As such,
simply remove this invalid BUG_ON().

This must be backported up to 3.1.
src/mux_quic.c