mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-07-29 17:06:07 +03:00
don't retry fronting connect
This commit is contained in:
@@ -136,6 +136,8 @@ class _WsPool:
|
||||
self.try_fronting_first = False
|
||||
return ws
|
||||
except asyncio.TimeoutError:
|
||||
if self.try_fronting_first:
|
||||
return None
|
||||
return await self._connect_fronted(target_ip, domain)
|
||||
except WsHandshakeError as exc:
|
||||
if exc.is_redirect:
|
||||
|
||||
Reference in New Issue
Block a user