summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-13 08:58:07 -0700
committerLance Stout <lancestout@gmail.com>2011-08-13 08:58:07 -0700
commit9fdd85d9f18001ed8f90d6e1142bb9c03255a59c (patch)
treeae4be228c6b63910c85f6426c51349d312066ad4 /sleekxmpp/xmlstream
parent331db30f8fa928463a0c5c41798002458d5700fe (diff)
downloadslixmpp-9fdd85d9f18001ed8f90d6e1142bb9c03255a59c.tar.gz
slixmpp-9fdd85d9f18001ed8f90d6e1142bb9c03255a59c.tar.bz2
slixmpp-9fdd85d9f18001ed8f90d6e1142bb9c03255a59c.tar.xz
slixmpp-9fdd85d9f18001ed8f90d6e1142bb9c03255a59c.zip
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.
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py1
1 files changed, 1 insertions, 0 deletions
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()