Commit a2804302 authored by Philipp Hörist's avatar Philipp Hörist

Client: Handle server not ending stream gracefully

parent 979831bf
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment