BUG/MEDIUM: mux-h2: Don't add private connections in available connection list
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jul 2020 13:45:41 +0000 (15:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 12:08:14 +0000 (14:08 +0200)
commitc5579d18d1a5161beaeda57705809ef5434bb9dd
tree392bfd089208543c35ed12b61091c30348a7f074
parente0e6aa5ddaaeb76cdc3139f6a4fd4e021cafc76c
BUG/MEDIUM: mux-h2: Don't add private connections in available connection list

When a stream is detached from a backend private connection, we must not insert
it in the available connection list. In addition, we must be sure to remove it
from this list. To ensure it is properly performed, this part has been slightly
refactored to clearly split processing of private connections from the others.

This patch should probably be backported to 2.2.
src/mux_h2.c