commit | cb11fd2c7a32f5476f76cc93ed4c712935222a23 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Jun 01 17:38:52 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 02 10:56:32 2017 +0200 |
tree | f127fda6f03bcb2e6213a5e309b0201304359821 | |
parent | 73b85e75b3963086be889e1fb40a59e7ef2ad63b [diff] |
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().