Browse Source

only correct request add into transfer size

dev
BreakWa11 9 years ago
parent
commit
4b97412569
  1. 1
      shadowsocks/tcprelay.py

1
shadowsocks/tcprelay.py

@ -276,6 +276,7 @@ class TCPRelayHandler(object):
pass
else:
if sock == self._remote_sock:
if self._encrypt_correct:
self._server.server_transfer_ul += len(data)
elif self._encrypt_correct and (self._obfs is not None):
obfs_encode = self._obfs.server_encode(data)

Loading…
Cancel
Save