fix send back str type
This commit is contained in:
parent
f5434bdbd0
commit
050270a725
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ class TCPRelayHandler(object):
|
|||
try:
|
||||
data, sendback = self._protocol.server_post_decrypt(data)
|
||||
if sendback:
|
||||
backdata = self._protocol.server_pre_encrypt('')
|
||||
backdata = self._protocol.server_pre_encrypt(b'')
|
||||
backdata = self._encryptor.encrypt(backdata)
|
||||
backdata = self._obfs.server_encode(backdata)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue