]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] Fix stick-table replication on soft-restart
authorSimon Horman <horms@verge.net.au>
Fri, 12 Aug 2011 23:03:48 +0000 (08:03 +0900)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Aug 2011 21:52:35 +0000 (23:52 +0200)
commit8b7b05a92d3e41c5334d6cd9de56a96aab278535
tree4d7b81458edde4fa4834a54eb3486194d54a8450
parentf73cd1198f21d65e8c65dd9df67feacdcd980594
[MEDIUM] Fix stick-table replication on soft-restart

"[MINOR] session: add a pointer to the new target into the session" (664beb8)
introduced a regression by changing the type of a peer's target from
TARG_TYPE_PROXY to TARG_TYPE_NONE. The effect of this is that during
a soft-restart the new process no longer tries to connect to the
old process to replicate its stick tables.

This patch sets the type of a peer's target as TARG_TYPE_PROXY and
replication on soft-restart works once again.
src/peers.c