]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks: Make sure we unsubscribe before calling cs_destroy().
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 31 May 2019 17:20:36 +0000 (19:20 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 5 Jun 2019 16:03:38 +0000 (18:03 +0200)
commit49065544d08b2432338cf861c59a7647b7f5546b
tree97e4ff3e9a887eeb0a9fb4622a3f73df49a971dc
parent14fcc2ebcc4bae13b35db497a4b147dd0f85b8e5
MEDIUM: checks: Make sure we unsubscribe before calling cs_destroy().

When we want to destroy the conn_stream for some reason, usually on error,
make sure we unsubscribed before doing so. If we subsscribed, the xprt may
ultimately wake our tasklet on close, aand the check tasklet doesn't expect
it ot happen when we have no longer any conn_stream.
src/checks.c