commit | ecffb7d841581694134b45dacf883d6643ce3bce | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jan 24 14:10:55 2020 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Jan 24 14:14:35 2020 +0100 |
tree | 0471c9ad84f5d274f1b0111f7ea195f1639a45a3 | |
parent | 99ac8a1aa45792fd5ef04af9c1a65181a5eabb2d [diff] |
BUG/MEDIUM: streams: Move the conn_stream allocation outside #IF USE_OPENSSL. When commit 477902bd2e8c1e978ad43d22dba1f28525bb797a made the conn_stream allocation unconditional, it unfortunately moved the code doing the allocation inside #if USE_OPENSSL, which means anybody compiling haproxy without openssl wouldn't allocate any conn_stream, and would get a segfault later. Fix that by moving the code that does the allocation outside #if USE_OPENSSL.