]> git.kaiwu.me - haproxy.git/commit
MINOR: cli: keep the info of the current keyword being processed in the appctx
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 08:32:26 +0000 (09:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 17:06:38 +0000 (18:06 +0100)
commit8139795c64021dfcba2febb282b323c8cb1b6ad1
treecdc8cf614d4d42772d7503f541598799f6e4adc3
parent9cb11d0859dffb670f5cdc70ecdbd43ff43f14f0
MINOR: cli: keep the info of the current keyword being processed in the appctx

Till now the CLI didn't know what keyword was being processed after it
was parsed. In order to report the execution context, we'll need to
store it. And this may even help for post-mortem analysis to know the
exact keyword being processed, so let's store the pointer in the cli_ctx
part of the appctx.
include/haproxy/applet-t.h
src/cli.c