]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker/cli: implement hard-reload over the master CLI
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 24 Nov 2023 20:20:32 +0000 (21:20 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 24 Nov 2023 20:44:25 +0000 (21:44 +0100)
commit3dd55fa1328e84e655985c34ecae72f06cf4fd69
treed98d1967981466ac030f9f65a0c4d34ed1ba5d9e
parent77a97536e8878ff0ddcd08cde16e9e54a9c226e1
MINOR: mworker/cli: implement hard-reload over the master CLI

The mworker mode never had a proper 'hard-stop' (-st) for the reload,
this is a mode which was commonly used with the daemon mode, but it was
never implemented in mworker mode.

This patch fixes the problem by implementing a "hard-reload" command
over the master CLI. It does the same as the "reload" command, but
instead of waiting for the connections to stop in the previous process,
it immediately quits the previous process after binding.
doc/management.txt
include/haproxy/global.h
src/haproxy.c
src/mworker.c