]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: Destroy the conn-stream before the session
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 13:59:22 +0000 (15:59 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 13:59:26 +0000 (15:59 +0200)
commitb693a0de374801e4924384cbeacbd2712d3a6a2c
tree3174cfbc91e03be0c949655b01fbe2e27e765b84
parentbfb0f72d52f69fa894463a610fc4c503576e80ff
BUG/MEDIUM: checks: Destroy the conn-stream before the session

At the end of a tcp-check based health check, if there is still a connection
attached to the check, it must be closed. But it must be done before releasing
the session, because the session may still be referenced by the mux. For
instance, an h2 stream may still have a reference on the session.

No need to backport.
src/checks.c