mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
cluster: Fix reconnect bug.
This commit is contained in:
parent
551f06c744
commit
63941c5f40
@ -440,8 +440,9 @@ void ClusterComponent::NewClientHandler(const Socket::Ptr& client, TlsRole role)
|
|||||||
if (oldClient)
|
if (oldClient)
|
||||||
oldClient->Close();
|
oldClient->Close();
|
||||||
|
|
||||||
ReplayLog(endpoint, tlsStream);
|
|
||||||
endpoint->SetClient(tlsStream);
|
endpoint->SetClient(tlsStream);
|
||||||
|
|
||||||
|
ReplayLog(endpoint, tlsStream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user