]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: muxes: Use the right argument when calling the destroy method.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 14 Feb 2020 12:23:45 +0000 (13:23 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 14 Feb 2020 12:28:38 +0000 (13:28 +0100)
commit12ffab03b6b911f4a60871b098656a29253e0e9b
tree567e4a907400bc61996dcbb550c0f5e7ef5677fb
parentf7dcdc8a6f63b172360019beb6e1e22e7c98f17d
BUG/MEDIUM: muxes: Use the right argument when calling the destroy method.

When calling the mux "destroy" method, the argument should be the mux
context, not the connection. In a few instances in the mux code, the
connection was used (mainly when the session wouldn't handle the idle
connection, and the server pool was fool), and that could lead to random
segfaults.

This should be backported to 2.1, 2.0, and 1.9
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c