]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mcli: replicate the current mode when enterin the worker process
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 17:09:02 +0000 (19:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 18:21:06 +0000 (20:21 +0200)
commitdc06495b71142f3df38d691ead9a3fb8fb091145
tree33bdebf262628286e3dd3fb0900e6ee61dac9c92
parentc347cb73fa77392802130716664962fbb116e62f
MEDIUM: mcli: replicate the current mode when enterin the worker process

While humans can find it convenient to enter the worker process in prompt
mode, for external tools it will not be convenient to have to systematically
disable it. A better approach is to replicate the master socket's mode
there, since it has already been configured to suit the user: interactive,
prompt and timed modes are automatically passed to the worker process.
This makes the using the worker commands more natural from the master
process, without having to systematically adapt it for each new connection.
doc/management.txt
src/cli.c