Browse Source

fix vim

auth
clowwindy 10 years ago
parent
commit
e8501da271
  1. 2
      shadowsocks/tcprelay.py

2
shadowsocks/tcprelay.py

@ -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…
Cancel
Save