]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux_h2: Don't add to the idle list if we're full.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 28 Dec 2018 13:44:41 +0000 (14:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 14:48:52 +0000 (15:48 +0100)
commit855ac25d8293718ce2054b2b51a4c60bdf71cee4
tree1dec5ca05bf8d49abdc26bf7482e6b0a394f26a6
parent86cef23266cff1d51fa23357b666dffc6a82ce73
BUG/MEDIUM: mux_h2: Don't add to the idle list if we're full.

In h2_detach(), don't add the connection to the idle list if nb_streams
is at the max. This can happen if we already closed that stream before, so
its slot became available and was used by another stream.

This should be backported to 1.9.
src/mux_h2.c