commit | 49065544d08b2432338cf861c59a7647b7f5546b | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri May 31 19:20:36 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jun 05 18:03:38 2019 +0200 |
tree | 97e4ff3e9a887eeb0a9fb4622a3f73df49a971dc | |
parent | 14fcc2ebcc4bae13b35db497a4b147dd0f85b8e5 [diff] |
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.