mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue