diff --git a/backend/stream.py b/backend/stream.py index d79dde6..351a167 100755 --- a/backend/stream.py +++ b/backend/stream.py @@ -102,7 +102,7 @@ class UpstreamHandler(): self.upstream = None async def test_socks(self, proxy): if not isinstance(proxy, str): - return True + return (True, ProxyElem(None)) try: splitted = proxy.rsplit(":", 1) host = proxy