]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-h2: Remove unused fields in h2c structures
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Oct 2022 08:21:33 +0000 (10:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Nov 2022 13:33:15 +0000 (14:33 +0100)
commit68ee7845cff23532f209071d6e5b87de677cde08
treeeb51bf489b42569ebf5e8870343198dbad90da58
parentff7925dce01ef1f35fd974a45ac78b6f613966a6
CLEANUP: mux-h2: Remove unused fields in h2c structures

Some fields in h2c structures are not used: .mfl, .mft and .mff. Just remove
them.

.msi field is also removed. It is tested but never set, except when a H2
connection is initialized. It also means h2c_mux_busy() function is useless
because it always returns 0 (.msi is always -1). And thus, by transitivity,
H2_CF_DEM_MBUSY is also useless because it is never set. So .msi field,
h2c_mux_busy() function and H2C_MUX_BUSY flag are removed.
include/haproxy/mux_h2-t.h
src/mux_h2.c