]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-pt: Expose passthrough in the list of supported mux protocols
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Feb 2021 15:44:46 +0000 (16:44 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 09:06:48 +0000 (11:06 +0200)
commit28da3f51310dfa954f9482cb0ed4f8a3087ef910
tree23f33938b2e798d384ddb016a9288c6f860721bc
parent3f612f7e4debdf00196564f745a8d19754a9308b
MEDIUM: mux-pt: Expose passthrough in the list of supported mux protocols

Add "none" in the list of supported mux protocols. It relies on the
passthrough multiplexer and use almost the same mux_ops structure. Only the
flags differ because this "new" mux does not support the upgrades. "none"
was chosen to explicitly stated there is not processing at the mux level.

Thus it is now possible to set "proto none" or "check-proto none" on
bind/server lines, depending on the context. However, when set, no upgrade
to HTTP is performed. It may be a way to disable HTTP upgrades per bind
line.
src/mux_pt.c