]> git.kaiwu.me - haproxy.git/commit
MINOR: muxes: Don't expect to call release function with no mux defined
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 09:36:41 +0000 (11:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 14 Apr 2022 09:57:06 +0000 (11:57 +0200)
commit4de1bff86606e52778caf2f64d99302cb61e1314
tree3364a34485ad55ec27a307a02ee720347fd36faf
parent4e61096e306ee9da46fb2db4dcef784587323272
MINOR: muxes: Don't expect to call release function with no mux defined

For all muxes, the function responsible to release a mux is always called
with a defined mux. Thus there is no reason to test if it is defined or not.

Note the patch may seem huge but it is just because of indentation changes.
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c