MINOR: connection: Set the SNI on server connections before installing the mux
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jul 2020 09:00:18 +0000 (11:00 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 12:08:14 +0000 (14:08 +0200)
commit27bd6ff96dc73d17d27d1507f7b7b86fe3ff93d5
treeedb0f4ca1f5c726db8e208d5a07e98a7684f3ac4
parent29ae7ffed9c375be0c6d9204a100a5e950252362
MINOR: connection: Set the SNI on server connections before installing the mux

If an expression is configured to set the SNI on a server connection, the
connection is marked as private. To not needlessly add it in the available
connection list when the mux is installed, the SNI is now set on the connection
before installing the mux, just after the call to si_connect().
src/backend.c