]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peer: Notify the applet won't consume data when it waits for sync
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Aug 2024 15:09:06 +0000 (17:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Aug 2024 06:42:29 +0000 (08:42 +0200)
commit78b8b6003082b54a24fa7b13be954f73248cc9d4
treef93ebf06f4b850bc3077a22925a2f4826f029823
parent184f16ded7a0274bffe99a4795d0a27f8be7c006
BUG/MEDIUM: peer: Notify the applet won't consume data when it waits for sync

When the peer applet is waiting for a synchronisation with the global sync
task, we must notify it won't consume data. Otherwise, if some data are
already waiting in the input buffer, the applet will be woken up in loop and
this wil trigger the watchdog. Once synchronized, the applet is woken up. In
that case, the peer applet must indicate it is going to consume data again.

This patch should fix the issue #2656. It must be backported to 3.0.
src/peers.c