fix vim
This commit is contained in:
parent
99c8bbafe7
commit
e8501da271
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class TCPRelayHandler(object):
|
||||||
self._data_to_write_to_remote = [data]
|
self._data_to_write_to_remote = [data]
|
||||||
else:
|
else:
|
||||||
self._data_to_write_to_remote = []
|
self._data_to_write_to_remote = []
|
||||||
self._update_stream(STREAM_UP, WAIT_STATUS_READWRITING)
|
self._update_stream(STREAM_UP, WAIT_STATUS_READWRITING)
|
||||||
except (OSError, IOError) as e:
|
except (OSError, IOError) as e:
|
||||||
if eventloop.errno_from_exception(e) == errno.EINPROGRESS:
|
if eventloop.errno_from_exception(e) == errno.EINPROGRESS:
|
||||||
# in this case data is not sent at all
|
# in this case data is not sent at all
|
||||||
|
|
Loading…
Reference in a new issue