Browse Source

refine traffic log when redirect enable (#163)

dev
Esdeath 8 years ago
committed by 破娃酱
parent
commit
7cfbe49806
  1. 2
      shadowsocks/tcprelay.py

2
shadowsocks/tcprelay.py

@ -847,8 +847,8 @@ class TCPRelayHandler(object):
data = self._protocol.server_pre_encrypt(data)
data = self._encryptor.encrypt(data)
data = self._obfs.server_encode(data)
self._update_activity(len(data))
self._server.add_transfer_d(self._user, len(data))
self._update_activity(len(data))
else:
return
try:

Loading…
Cancel
Save