]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: ring: tcp forward on ring can break the reader counter.
authorEmeric Brun <ebrun@haproxy.com>
Wed, 2 Dec 2020 16:02:09 +0000 (17:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 19:17:19 +0000 (20:17 +0100)
commitfdabf4954860942d314fe3059a869bed207e78d4
tree579bdc315ad742a21d660410634d2db07a504700
parentfd1831499eeaf6674723e157ad49e188ef9eb418
BUG/MAJOR: ring: tcp forward on ring can break the reader counter.

If the session is not established, the applet handler could leave
with the applet detached from the ring. At next call, the attach
counter will be decreased again causing unpredectable behavior.

This patch should be backported on branches >=2.2
src/sink.c