MINOR: muxes: Don't handle proto upgrade for muxes not supporting it
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 09:23:50 +0000 (11:23 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 09:57:06 +0000 (11:57 +0200)
commit4e61096e306ee9da46fb2db4dcef784587323272
tree00e82605b1c5e26ea055cfca3007473e74133f28
parent7c452ccbff8261ead35c1bd8c932a8d4e4a3e451
MINOR: muxes: Don't handle proto upgrade for muxes not supporting it

Several muxes (h2, fcgi, quic) don't support the protocol upgrade. For these
muxes, there is no reason to have code to support it. Thus in the destroy
callback, there is now a BUG_ON() and the release function is simplified
because the connection is always owned by the mux..
src/mux_fcgi.c
src/mux_h2.c
src/mux_quic.c