]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker: mworker_kill should apply on every children
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 16 Apr 2019 15:42:42 +0000 (17:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Apr 2019 16:14:29 +0000 (18:14 +0200)
commit32b690155067dd82c61f78d2052b50937bd4c0b3
tree4209c8625674fe3c39b8e8bd300a51fcbc303606
parent85d0424b20c4148a2b1f5b5a4442dd7fed44c562
BUG/MINOR: mworker: mworker_kill should apply on every children

Commit 3f12887 ("MINOR: mworker: don't use children variable anymore")
introduced a regression.

The previous behavior was to send a signal to every children, whether or
not they are former children. Instead of this, we only send a signal to
the current children, so we don't try to kill -INT or -TERM all
processes during a reload.

No backport needed.
src/mworker.c