BUG/MINOR: cli: Don't set SE flags from the cli applet
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Feb 2025 14:15:27 +0000 (15:15 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Mar 2025 14:58:22 +0000 (15:58 +0100)
commit158c7de9c6374947fe4e6363209220ad66118ba3
treed618f24bf3ab7d5fcb696d1b827e144639760696
parent6851676b21afa5ec95a5df469782e0b0c46d7d6a
BUG/MINOR: cli: Don't set SE flags from the cli applet

Since the CLI was updated to use the new applet API, it should no longer set
directly the SE flags. Instead, the corresponding applet flags must be set,
using the applet API (appet_set_*). It is true for the CLI I/O handler but also
for the commands parse function and I/O callback function.

This patch should be backported as far as 3.0.

(cherry picked from commit 7e927243b9e86cee13ea9c16077a8523e79e41bb)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 80542e814a56a446fe0d06bc64dd0ab7625e4762)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
src/cli.c