]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux: Destroy the stream before trying to add the conn to the idle list.
authorOlivier Houchard <cognet@ci0.org>
Sat, 15 Dec 2018 15:05:40 +0000 (16:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Dec 2018 22:50:09 +0000 (23:50 +0100)
commit8a7869022999c8b6bedd85cdbc846f8be811c8a2
tree357c6d0115ccb6e8a16eb8042b9ea60f80776f8d
parentb7b3faa79cce0d6e4c3db03aca31d3f86db283c8
MEDIUM: mux: Destroy the stream before trying to add the conn to the idle list.

In the mux_h1 and mux_h2, move the test to see if we should add the
connection in the idle list until after we destroyed the h1s/h2s, that way
later we'll be able to check if the connection has no stream at all, and if
it should be added to the server idling list.
src/mux_h1.c
src/mux_h2.c