Browse Source

remove fd logging

auth
clowwindy 11 years ago
parent
commit
d639a375bc
  1. 6
      shadowsocks/tcprelay.py

6
shadowsocks/tcprelay.py

@ -589,9 +589,9 @@ class TCPRelay(object):
def _handle_events(self, events): def _handle_events(self, events):
for sock, fd, event in events: for sock, fd, event in events:
if sock: # if sock:
logging.debug('fd %d %s', fd, # logging.debug('fd %d %s', fd,
eventloop.EVENT_NAMES.get(event, event)) # eventloop.EVENT_NAMES.get(event, event))
if sock == self._server_socket: if sock == self._server_socket:
if event & eventloop.POLL_ERR: if event & eventloop.POLL_ERR:
# TODO # TODO

Loading…
Cancel
Save