mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +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)
|
||||
oldClient->Close();
|
||||
|
||||
ReplayLog(endpoint, tlsStream);
|
||||
endpoint->SetClient(tlsStream);
|
||||
|
||||
ReplayLog(endpoint, tlsStream);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user