]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: don't reuse PIDs passed to the master
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Jun 2017 09:20:33 +0000 (11:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:43:28 +0000 (14:43 +0200)
commit8a361b594ea38fb1f89f0b00f095ece0c8613d10
treeac5323d217c7b4d1dcd74b6f44b3b63c6b6d49d8
parent2bf6d6291614537530958282da6a7a66c03bf5fe
BUG/MEDIUM: mworker: don't reuse PIDs passed to the master

When starting the master worker with -sf or -st, the PIDs will be reused
on the next reload, which is a problem if new processes on the system
took those PIDs.

This patch ensures that we don't register old PIDs in the reload system
when launching the master worker.
src/haproxy.c