Browse Source

add some debug logs

auth
clowwindy 10 years ago
parent
commit
a6b8a5eef9
  1. 1
      shadowsocks/eventloop.py

1
shadowsocks/eventloop.py

@ -207,6 +207,7 @@ class EventLoop(object):
except (OSError, IOError) as e:
if errno_from_exception(e) in (errno.EPIPE, errno.EINTR):
# Happens when the client closes the connection
logging.debug('poll:%s', e)
continue
else:
logging.error('poll:%s', e)

Loading…
Cancel
Save