commit | 2ab3dada015e071f505554cf443bfc438ce863e5 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Jul 03 13:08:18 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 03 13:57:30 2019 +0200 |
tree | 4f8aef11a7d460d536055fd2b553d26e2101e13a | |
parent | 11921e6819a07219e8ed6adbdd276bdbdcdb324d [diff] |
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.