mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-10 16:00:08 +00:00
BUG/MAJOR: peers: fix current table pointer not re-initialized on session release.
This bug causes malfunctions after re-connect. For instance the re-sync fails.
This commit is contained in:
parent
e1ab808ff8
commit
b157d73beb
@ -457,6 +457,8 @@ static void peer_session_release(struct appctx *appctx)
|
||||
/* peer session identified */
|
||||
if (peer) {
|
||||
if (peer->stream == s) {
|
||||
/* Re-init current table pointers to force announcement on re-connect */
|
||||
peer->remote_table = peer->last_local_table = NULL;
|
||||
peer->stream = NULL;
|
||||
peer->appctx = NULL;
|
||||
if (peer->flags & PEER_F_LEARN_ASSIGN) {
|
||||
|
Loading…
Reference in New Issue
Block a user