]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: Be aware of the HTX during the check of mux protocols
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 10:23:52 +0000 (11:23 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commit7ff4f14204314eaf3936e4624934cb159cb98379
treed832895b56d4335c2c28ab63bc9ac2dd070ff8ff
parent55dec0dca4f0eb676c426762e91033ae77f959c2
BUG/MINOR: config: Be aware of the HTX during the check of mux protocols

Because the HTX is still experimental, we must add special cases during the
configuration check to be sure it is not enabled on a proxy with incompatible
options. Here, for HTX proxies, when a mux protocol is specified on a bind line
or a server line, we must force the HTX mode (PROTO_MODE_HTX).

Concretely, H2 is the only mux protocol that can be forced. And it doesn't yet
support the HTX. So forcing the H2 on an HTX proxy will always fail.
src/cfgparse.c