From 9fdd85d9f18001ed8f90d6e1142bb9c03255a59c Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 13 Aug 2011 08:58:07 -0700 Subject: I've seen people complain about Sleek taking so long to disconnect. Added logging to say that we're waiting for the server to end the stream from its end. --- sleekxmpp/xmlstream/xmlstream.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sleekxmpp/xmlstream') diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 8214e13d..8126d989 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -461,6 +461,7 @@ class XMLStream(object): # Wait for confirmation that the stream was # closed in the other direction. self.auto_reconnect = reconnect + log.debug('Waiting for %s from server' % self.stream_footer) self.stream_end_event.wait(4) if not self.auto_reconnect: self.stop.set() -- cgit v1.2.3