commit | 302f9ef0556b6795bda8882edf56611ee252fceb | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Apr 13 15:50:27 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 13 16:02:21 2018 +0200 |
tree | 8ce57e93baaf099f9d44af03df4f3ac557e0f0b7 | |
parent | 48aa13f286dde83a88dd8459ee91ebee027c04a6 [diff] |
BUG/MEDIUM: connection: Make sure we have a mux before calling detach(). In some cases, we call cs_destroy() very early, so early the connection doesn't yet have a mux, so we can't call mux->detach(). In this case, just destroy the associated connection. This should be backported to 1.8.