Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nbxmpp/tcp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nbxmpp/tcp.py b/nbxmpp/tcp.py
index 802654f..be00732 100644
--- a/nbxmpp/tcp.py
+++ b/nbxmpp/tcp.py
@@ -269,6 +269,10 @@ class TCPConnection(Connection):
self._write_stanza_buffer = None
return
+ if self._output_closed:
+ self._check_for_shutdown()
+ return
+
self._log.error('Write Error: %s', error)
return