]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: streams: Move the conn_stream allocation outside #IF USE_OPENSSL.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 24 Jan 2020 13:10:55 +0000 (14:10 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 24 Jan 2020 13:14:35 +0000 (14:14 +0100)
commitecffb7d841581694134b45dacf883d6643ce3bce
tree0471c9ad84f5d274f1b0111f7ea195f1639a45a3
parent99ac8a1aa45792fd5ef04af9c1a65181a5eabb2d
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.
src/backend.c