]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: backend: set the connection owner to the session when using alpn.
authorOlivier Houchard <cognet@ci0.org>
Tue, 26 May 2020 23:26:06 +0000 (01:26 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 26 May 2020 23:34:33 +0000 (01:34 +0200)
commit68ad53cb3781010ccde7c781b6a3a1e926b5ed23
tree24792821a0df6191aa78fb148841a0678e067066
parentd82056c319814f9328db07dd50ab90785ec6c95c
BUG/MEDIUM: backend: set the connection owner to the session when using alpn.

In connect_server(), if we can't create the mux immediately because we have
to wait until the alpn is negociated, store the session as the connection's
owner. conn_create_mux() expects it to be set, and provides it to the mux
init() method. Failure to do so will result to crashes later if the
connection is private, and even if we didn't do so it would prevent connection
reuse for private connections.
This should fix github issue #651.
src/backend.c