]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: applet: Fix conditions to detect spinning loop with the new API
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Nov 2025 08:41:03 +0000 (09:41 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Nov 2025 08:41:05 +0000 (09:41 +0100)
commitdfdccbd2af56a9cb165037d106f149cdd4eb8c80
treec2be293247f72dd040f8f39d899305666c7353b0
parent4cbff2cad99b47c1c4765f5489c8b864900dcde0
BUG/MEDIUM: applet: Fix conditions to detect spinning loop with the new API

There was a mixup between read/send events and ability for an applet to
receive and send. The fix seems obvious by reading it. The call-rate must be
incremented when nothing was received from the applet while it was allowed
and nothing was sent to the applet while it was allowed.

This patch must be backported as far as 3.0.
src/applet.c