commit | 0e0793715cafe07dab722b2d28c4825eab84f5fc | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Apr 15 17:51:16 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Apr 15 19:27:57 2019 +0200 |
tree | 50edf52385c1c562dcba5c42e6217cc863b07dab | |
parent | e61828449c6e8c9594befbe1839956ea612c8331 [diff] |
BUG/MEDIUM: muxes: Make sure we unsubcribed when destroying mux ctx. In the h1 and h2 muxes, make sure we unsubscribed before destroying the mux context. Failing to do so will lead in a segfault later, as the connection will attempt to dereference its conn->send_wait or conn->recv_wait, which pointed to the now-free'd mux context. This was introduced by commit 39a96ee16eeec51774f9f52a783cf624a0de4ccb, so should only be backported if that commit gets backported.