]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: handle EOS/ERROR first
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Jun 2025 14:29:07 +0000 (16:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Jun 2025 14:47:59 +0000 (16:47 +0200)
commitfb7665552668df368bbc85ef56beca11c356f53a
treee92906d4700d3e7725355e65f8d8968dcac3e013
parent396f0252bf3a400c9dbfdaf730e994bb44f198dd
MINOR: cli: handle EOS/ERROR first

It is not especially a bug fixed. But APPCTX_FL_EOS and APPCTX_FL_ERROR
flags must be handled first. These flags are set by the applet itself and
should mark the end of all processing. So there is not reason to get the
output buffer in first place.

This patch could be backported as far as 3.0.
src/cli.c