]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: connections: Defer mux creation for outgoing connection if alpn is set.
authorOlivier Houchard <cognet@ci0.org>
Tue, 20 Nov 2018 23:16:29 +0000 (00:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 18:52:23 +0000 (19:52 +0100)
commit201b9f4eb50fda988356422dbf2471f741d01fa6
tree6fdcdd6dd39ca767de41517688fc211ec8378dba
parent66b5166af950ac1c5f0bb1bb5831b5f409b9fcf3
MAJOR: connections: Defer mux creation for outgoing connection if alpn is set.

If an ALPN (or a NPN) was chosen for a server, defer choosing the mux until
after the SSL handshake is done, and the ALPN/NPN has been negociated, so
that we know which mux to pick.
include/proto/backend.h
include/proto/connection.h
include/proto/stream_interface.h
src/backend.c
src/session.c
src/stream.c