commit | e8826ded5fea3593d89da2be5c2d81c522070995 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Oct 17 18:02:53 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Thu Oct 17 18:02:57 2019 +0200 |
tree | 6715469749d32b1b8bc716858fa82d5a0c1309aa | |
parent | 2068ec4f89af0bb1f8540ddd162e3c762ccebd89 [diff] |
BUG/MEDIUM: mux_pt: Make sure we don't have a conn_stream before freeing. On error, make sure we don't have a conn_stream before freeing the connection and the associated mux context. Otherwise a stream will still reference the connection, and attempt to use it. If we still have a conn_stream, it will properly be free'd when the detach method is called, anyway. This should be backported to 2.0 and 1.9.