From a0545cca640c26de1afa3a9dfdb069d6a013e89e Mon Sep 17 00:00:00 2001 From: Flowseal Date: Tue, 28 Jul 2026 10:55:36 +0300 Subject: [PATCH] don't retry fronting connect --- proxy/pool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/pool.py b/proxy/pool.py index 81f6cde..6b1540e 100644 --- a/proxy/pool.py +++ b/proxy/pool.py @@ -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: