]> git.ipfire.org Git - thirdparty/haproxy.git/commit
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)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Feb 2025 14:23:20 +0000 (15:23 +0100)
commit7e927243b9e86cee13ea9c16077a8523e79e41bb
tree3a9d1ebed21808c52cce862f42e5b7be7da943ed
parent0aa69e78656f48256798686f7ee06eb3ba3e5004
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.
src/cli.c