commit | 8af03b396a6025437b675f9ecaa5db321ec4918c | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Jan 22 17:34:54 2020 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jan 22 18:55:59 2020 +0100 |
tree | e77e5d1e12897c5a16c41ef363ebfe63fbbbe3fc | |
parent | 56dd354b3c55876c4e693fe5eee919e85b2bad53 [diff] |
MEDIUM: streams: Always create a conn_stream in connect_server(). In connect_server(), when creating a new connection for which we don't yet know the mux (because it'll be decided by the ALPN), instead of associating the connection to the stream_interface, always create a conn_stream. This way, we have less special-casing needed. Store the conn_stream in conn->ctx, so that we can reach the upper layers if needed.