Skip to content

Commit

Permalink
fix log issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Nov 18, 2023
1 parent fb5a760 commit 2e06365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/default/x_tunnel/local/proxy_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def handle(self):
return

except socket.error as e:
xlog.exception('proxy handler read error %r', e)
xlog.warn('proxy handler read error %r', e)
self.connection.close()
except Exception as e:
xlog.exception("proxy handler err:%r", e)
Expand Down
2 changes: 1 addition & 1 deletion code/default/x_tunnel/local/seley_front/rc4_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, sock, ip_str=None, sni=None, on_close=None):
self.h2 = False

if not aes and not algorithms:
raise socket.error('no cryptography 7')
raise socket.error('no cryptography')

key = self.sni
iv = b'\x00' * 16
Expand Down

0 comments on commit 2e06365

Please sign in to comment.