]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: remain in mworker mode during reload
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 14 Jan 2020 16:58:18 +0000 (17:58 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 14 Jan 2020 17:10:29 +0000 (18:10 +0100)
commit24c928c8bd86f6899d39dd5cd04b3e50b4b993a8
tree55ea00196a669979aff5041b92fa90d42dd008eb
parent25b569302167e71b32e569a2366027e8e320e80a
BUG/MEDIUM: mworker: remain in mworker mode during reload

If you reload an haproxy started in master-worker mode with
"master-worker" in the configuration, and no "-W" argument,
the new process lost the fact that is was in master-worker mode
resulting in weird behaviors.

The bigest problem is that if it is reloaded with an bad configuration,
the master will exits instead of remaining in waitpid mode.

This problem was discovered in bug #443.

Should be backported in every version using the master-worker mode.
(as far as 1.8)
src/haproxy.c