]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: release the listener with the session, not the stream
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Oct 2017 13:01:14 +0000 (15:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:24 +0000 (18:03 +0100)
commit4f0c64cad7a9d3dc0bde92bea671c493c7b284a5
tree9634ab8db95a068ad27afeae4445725e23c1412a
parent436d333124604db40b20344fa58bc41e1148cb2b
MINOR: session: release the listener with the session, not the stream

Since multiple streams can share one session attached to one listener,
the listener_release() call must be done in session_free() and not in
stream_free(), otherwise we end up with a negative count in H2.
src/session.c
src/stream.c