]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connections: Make sure we're unsubscribe before upgrading the mux.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 3 Jul 2019 11:08:18 +0000 (13:08 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Jul 2019 11:57:30 +0000 (13:57 +0200)
commit2ab3dada015e071f505554cf443bfc438ce863e5
tree4f8aef11a7d460d536055fd2b553d26e2101e13a
parent11921e6819a07219e8ed6adbdd276bdbdcdb324d
BUG/MEDIUM: connections: Make sure we're unsubscribe before upgrading the mux.

Just calling conn_force_unsubscribe() from conn_upgrade_mux_fe() is not
enough, as there may be multiple XPRT involved. Instead, require that
any user of conn_upgrade_mux_fe() unsubscribe itself before calling it.
This should fix upgrading a TCP connection to HTX when using SSL.

This should be backported to 2.0.
include/proto/connection.h
src/mux_h1.c
src/proxy.c