From ef05eb75d90ef0c91ccea5bdff9f47499552e8d4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 25 Feb 2010 22:56:38 +0100 Subject: [PATCH] don't remove keepalive and xmpp ping timeouts when we get an expected stanza. --- src/common/xmpp/dispatcher_nb.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/xmpp/dispatcher_nb.py b/src/common/xmpp/dispatcher_nb.py index f5972e3ce..54274928a 100644 --- a/src/common/xmpp/dispatcher_nb.py +++ b/src/common/xmpp/dispatcher_nb.py @@ -469,10 +469,6 @@ class XMPPDispatcher(PlugIn): # we have released dispatcher, so self._owner has no methods if not res: return - if 'remove_timeout' in self._owner.__dict__: - # When we receive data after we started disconnecting, Transport may - # already be plugged out - self._owner.remove_timeout() for (_id, _iq) in self._expected.items(): if _iq is None: # If the expected Stanza would have arrived, ProcessNonBlocking