]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: implement alpn registration of muxes
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Sep 2017 17:40:52 +0000 (19:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:23 +0000 (18:03 +0100)
commit2386be64ba3f13f767a5ef0af4912d7361198664
tree58e89cf8e2796ba48ec6026332a0560c2f3aa97c
parent53a4766e400aa60835b6994c67100aaa0b936017
MINOR: connection: implement alpn registration of muxes

Selecting a mux based on ALPN and the proxy mode will quickly become a
pain. This commit provides new functions to register/lookup a mux based
on the ALPN string and the proxy mode to make this easier. Given that
we're not supposed to support a wide range of muxes, the lookup should
not have any measurable performance impact.
include/proto/connection.h
include/types/connection.h
src/connection.c