]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: Split resync process function to separate running/stopping states
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Mar 2024 13:20:32 +0000 (14:20 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Apr 2024 08:29:21 +0000 (10:29 +0200)
commit4078893049b5e5a8839573e05bb0b9b58c592b7a
tree804df7f31f5a430d5792dbdb4b6ac6e120fe200f
parent98583c42560a082c9d9898ba9e35cbd68ad15815
MINOR: peers: Split resync process function to separate running/stopping states

The function responsible to deal with resynchro between all peers is now split
in two subfunctions. The first one is used when HAProxy is running while the
other one is used in soft-stop case.

This patch is required to be able to refactor locking mechanism of the peers.
src/peers.c