From a6b8a5eef910b75829487a506202f1df68d358af Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 12 Sep 2014 00:53:12 +0800 Subject: [PATCH] add some debug logs --- shadowsocks/eventloop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks/eventloop.py b/shadowsocks/eventloop.py index 4b2469a..65f6473 100644 --- a/shadowsocks/eventloop.py +++ b/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)