]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/applet: Move appctx fields only used by the CLI in a private context
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 09:17:07 +0000 (11:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 13:09:37 +0000 (15:09 +0200)
commitb734d7c156fbd00d83392b8b394a15c48555d5dc
tree3226a0ebd4796bfbf391869bfa2bcbda837a805b
parent03dc54d802190dc690674bcc109cfd9fb26e34a6
MINOR: cli/applet: Move appctx fields only used by the CLI in a private context

There are several fields in the appctx structure only used by the CLI. To
make things cleaner, all these fields are now placed in a dedicated context
inside the appctx structure. The final goal is to move it in the service
context and add an API for cli commands to get a command coontext inside the
cli context.
12 files changed:
include/haproxy/applet-t.h
include/haproxy/cli-t.h
include/haproxy/tools.h
src/cli.c
src/map.c
src/mworker.c
src/proxy.c
src/ring.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/ssl_ocsp.c
src/stream.c