]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mworker: wait mode on reload failure
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 1 Jun 2017 15:38:52 +0000 (17:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Jun 2017 08:56:32 +0000 (10:56 +0200)
commitcb11fd2c7a32f5476f76cc93ed4c712935222a23
treef127fda6f03bcb2e6213a5e309b0201304359821
parent73b85e75b3963086be889e1fb40a59e7ef2ad63b
MEDIUM: mworker: wait mode on reload failure

In Master Worker mode, when the reloading of the configuration fail,
the process is exiting leaving the children without their father.

To handle this, we register an exit function with atexit(3), which is
reexecuting the binary in a special mode. This particular mode of
HAProxy don't reload the configuration, it only loops on wait().
src/haproxy.c