]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: qmux: remove invalid BUG_ON() on empty record
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2026 09:47:56 +0000 (10:47 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2026 10:02:51 +0000 (11:02 +0100)
commit429ca30e1b0d8a400761bd057a3943acc674d3f8
tree000b5a988aa2929d11caee93d9aadb30340526ea
parent4578f3f5a0e07abfd72124171434f8bea7d09228
BUG/MINOR: qmux: remove invalid BUG_ON() on empty record

In QMux, a BUG_ON() was present in receive path to report about a
realign needed but not implemented. This is not necessary anymore as
realign is now implemented.

Worst, BUG_ON() could be triggered when receiving an empty record. Such
records are not (yet?) prohibited by the spec. Simply remove the
BUG_ON() to avoid any issue with it.

This must be backported up to 3.4.
src/qcm_qmux.c