]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proxy/cli: take the "show errors" context definition out of the appctx
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 09:24:24 +0000 (11:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commit0fd8f0e23609f1ac466199d75cf9308649aa0f2c
treefb50519d5328b05b8b4858ec230e4d5cb5dac630
parent6177cfc3b5c40c48da7ddf175ca245db48db160d
CLEANUP: proxy/cli: take the "show errors" context definition out of the appctx

This makes use of the generic command context allocation so that the
appctx doesn't have to declare a specific one anymore. The context is
created during parsing.

The code still has room for improvement, such as in the "flags" field
where bits are hard-coded, but they weren't modified.
include/haproxy/applet-t.h
src/proxy.c