mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 11:08:44 +00:00
Lock recode, bind error notify, clipboard cross-platform
This commit is contained in:
1 parent
46aec5e3b6
commit
39dd71be14
4 files changed
+29
-30
No files matched your search
@@ -596,7 +596,7 @@ async def _handle_client(reader, writer):
|
||||
rr, rw = await asyncio.wait_for(
|
||||
asyncio.open_connection(dst, port), timeout=10)
|
||||
except Exception as exc:
|
||||
log.warning("[%s] passthrough failed to %s: %s", label, dst, exc)
|
||||
log.warning("[%s] passthrough failed to %s: %s: %s", label, dst, type(exc).__name__, str(exc) or "(no message)")
|
||||
writer.write(_socks5_reply(0x05))
|
||||
await writer.drain()
|
||||
writer.close()
|
||||
|
||||
Reference in new issue
Block a user