disconnect immediately after recving a boot message

This commit is contained in:
Darren Ranalli 2008-01-30 21:02:28 +00:00
parent fb9f2a2eeb
commit 336b478266

View File

@ -572,6 +572,10 @@ class ClientRepositoryBase(ConnectionRepository):
self.notify.warning(
"Server is booting us out with no explanation.")
# disconnect now, don't wait for send/recv to fail
self.stopReaderPollTask()
self.lostConnection()
def handleServerHeartbeat(self, di):
# Got a heartbeat message from the server.
if base.config.GetBool('server-heartbeat-info', 1):