]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Expose h1 in the list of supported mux protocols
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Feb 2021 15:44:21 +0000 (16:44 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 09:06:47 +0000 (11:06 +0200)
commit3f612f7e4debdf00196564f745a8d19754a9308b
tree746aa970bc9202e55fa4317e766e0537abdea814
parent7a9e362b90d5f936c61df68f511c6a9e0f10ab6e
MEDIUM: mux-h1: Expose h1 in the list of supported mux protocols

Add "h1" in the list of supported mux protocols. It relies on the H1
multiplexer and use the almost the same mux_ops structure. Only the flags
differ because this "new" mux does not support the upgrades.

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