]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: applet: Fix test on shut flags for legacy applets (v2)
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Feb 2026 18:14:57 +0000 (19:14 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 08:44:15 +0000 (09:44 +0100)
commit1b7843f1c1da78ec83379479088a8e546ae73014
treeff2e352e6f2d80d0df0028d0c73641225418104c
parent8e0c2599b6f3e4da0cba4e870beae672cb851f09
BUG/MEDIUM: applet: Fix test on shut flags for legacy applets (v2)

The previous fix was wrong. When shut flags are tested for legacy applets,
to know if the I/O handler can be called or not, we must be sure shut for
reads and for writes are both set to skip the applet I/O handler.

This bug introduced regression, at least for the peer applet and for the DNS
applet.

This patch must be backported with abc1947e1 ("BUG/MEDIUM: applet: Fix test
on shut flags for legacy applets"), so as far as 3.0.
src/applet.c