]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: muxes: Be prepared to don't own connection during the release
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Apr 2019 08:52:21 +0000 (10:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Apr 2019 20:06:53 +0000 (22:06 +0200)
commit39a96ee16eeec51774f9f52a783cf624a0de4ccb
treee5786b74cb892ba6d20e82550b33a472d25398cb
parent73c1207c7196f3c1fc814e424e6b486cc5f3afb2
MEDIUM: muxes: Be prepared to don't own connection during the release

This happens during mux upgrades. In such case, when the destroy() callback is
called, the connection points to a different mux's context than the one passed
to the callback. It means the connection is owned by another mux. The old mux is
then released but the connection is not closed.
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c