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