]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream: Make sure to unsubscribe before si_release_endpoint.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 11 Oct 2018 15:09:14 +0000 (17:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Oct 2018 15:16:43 +0000 (17:16 +0200)
commit4fdec7aafaca0b7e67a7c9782a6599004d1d3bc6
treec09129283dadceb3fd3da1d62bea033d1ba83c61
parentc8c0ed91cb4436491efd2ce2c4b4b1694aeeccca
BUG/MEDIUM: stream: Make sure to unsubscribe before si_release_endpoint.

Make sure we unsubscribe from events before si_release_endpoint destroys
the conn_stream, or it will be never called. To do so, move the call to
unsubscribe to si_release_endpoint() directly.

This is 1.9-specific and shouldn't be backported.
include/proto/stream_interface.h
src/stream.c