commit | d76bd2d40bc26d9cb7300afb2e462c578733dcd1 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Nov 29 16:58:49 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 29 17:39:04 2018 +0100 |
tree | f1ac78b443e6949dd911355afaeea2c2361dbc2b | |
parent | 70d9b2fdb0cc490e2fd1f4d5a20f2de167df9671 [diff] |
BUG/MEDIUM: connections: Don't forget to detach the connection from the SI. When we're deferring the mux choice until the ALPN is negociated, we attach the connection to the stream_interface until it's done, so that we can destroy it if something goes wrong and the stream is destroy. Before calling si_attach_cs() to attach the conn_stream once we have it, call si_detach_endpoint(), or is_attach_cs() would destroy the connection.