cluster: Fix reconnect bug.

This commit is contained in:
Gunnar Beutner 2013-09-11 10:15:59 +02:00
parent 551f06c744
commit 63941c5f40
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}