BUG/MEDIUM: mux-h1: Exit early if fast-forward is not supported by opposite SC
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Nov 2023 14:15:42 +0000 (15:15 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Nov 2023 14:18:43 +0000 (15:18 +0100)
commit3a051ca0c805a7fefb739706121cf57776992a03
tree4feeeb4c8ec0d581eafe9edfa7eb81ee059780ca
parent3ac3a06963e0b33fa0d1cab511c865432eb9b665
BUG/MEDIUM: mux-h1: Exit early if fast-forward is not supported by opposite SC

The commit 4be0c7c65 ("MEDIUM: stconn/muxes: Loop on data fast-forwarding to
forward at least a buffer") introduced a regression. In h1_fastfwd(), if
data fast-forwarding is not supported by the opposite SC, we must exit
without calling se_donn_ff(). Otherwise a BUG_ON() will be triggered because
the opposite mux has no .done_fastfwd() callback function.

No backport needed.
src/mux_h1.c