BUG/MINOR: connection: See new connection as available only on reuse always
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jul 2020 12:59:43 +0000 (14:59 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Jul 2020 12:31:01 +0000 (14:31 +0200)
commit2883fcf65bc09d4acf25561bcd955c6ca27c0438
tree064072f052c83cc67e586203ee987005cf4beeb8
parentaa27853ce2111034c85c53fd824bdb52f0f34b07
BUG/MINOR: connection: See new connection as available only on reuse always

When the multiplexer creation is delayed after the handshakes phase, the
connection is added in the available connection list if http-reuse never is not
configured for the backend. But it is a wrong statement. At this step, the
connection is not safe because it is a new connection. So it must be added in
the available connection list only if http-reuse always is used.

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