BUG/MEDIUM: connection: Don't consider new private connections as available
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 30 Jun 2020 12:47:46 +0000 (14:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Jul 2020 12:30:38 +0000 (14:30 +0200)
commitaa27853ce2111034c85c53fd824bdb52f0f34b07
tree39ae07070f9dc2eee56acbe8bad048c2113415dd
parente91a526c8fe7bf3b655057d41e8b72a2011b7046
BUG/MEDIUM: connection: Don't consider new private connections as available

When a connection is created and the multiplexer is installed, if the connection
is marked as private, don't consider it as available, regardless the number of
available streams. This test is performed when the mux is installed when the
connection is created, in connect_server(), and when the mux is installed after
the handshakes stage.

No backport needed, this is 2.2-dev.
src/backend.c
src/connection.c