]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: streams: Don't assume we have a CS in sess_update_st_con_tcp.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 29 Nov 2018 17:01:46 +0000 (18:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 09:47:16 +0000 (10:47 +0100)
commit14547b2e1c7e2d7c0b72b60c98059da750e8a8c6
tree986e9df807ac1d8adad69e0d1910bbedba975c3c
parent5c6109691a4c0cc88c0cec51823777b001ebb162
BUG/MEDIUM: streams: Don't assume we have a CS in sess_update_st_con_tcp.

We can reach sess_update_st_con_tcp() while we still have a connection
attached, so take that into account, and free the connection, instead of
assuming it's always a conn_stream.
src/stream.c