]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: Use a dedicated reconnect timeout when stopping the local peer
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Jul 2022 17:14:36 +0000 (19:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Aug 2022 07:56:38 +0000 (09:56 +0200)
commitab4b094055fee113e91149426035c9ff7b35b2b0
treeb6d0461416418ed1a5a4e6ab7b6a78d5b9e83a8a
parent1b6fa7f5ea22e6d1598c037b2c14d7f186f9c515
MINOR: peers: Use a dedicated reconnect timeout when stopping the local peer

When a process is stopped or reload, a dedicated reconnect timeout is now
used. For now, this timeout is not used because the current code retries
immediately to reconnect to perform the local synchronization with the new
local peer, if any.

This patch is required to fix the issue #1799. It should be backported as
far as 2.0 with next fixes.
src/peers.c