]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: peers: unregister peers that were never started
authorWilly Tarreau <w@1wt.eu>
Fri, 1 May 2015 16:32:13 +0000 (18:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2015 18:16:31 +0000 (20:16 +0200)
commit46dc1ca76114bff925460aee9439fc7dbef1185f
tree0ad20e89b803afb982b146cc258aa6c842a437d3
parentaa729784e1c0a6a9ac003210d01c605962110522
MEDIUM: peers: unregister peers that were never started

The peers initialization sequence is a bit complex, they're attached
to stick-tables and initialized very early in the boot process. When
we fork, if some must not start, it's too late to find them. Instead,
simply add a guard in their respective tasks to stop them once they
want to start.
src/peers.c