From 9c5297b316a0e570263839c17d0703a72054b71e Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Fri, 4 Jun 2021 10:57:34 +0200 Subject: [PATCH] pass proxy address instead of object --- backend/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/stream.py b/backend/stream.py index 351a167..b49ac7d 100755 --- a/backend/stream.py +++ b/backend/stream.py @@ -130,7 +130,7 @@ class UpstreamHandler(): if isinstance(proxy_list, list): futures = [] for current in proxy_list: - future = asyncio.create_task(self.test_socks(current)) + future = asyncio.create_task(self.test_socks(current.proxy)) futures.append(future) for future in asyncio.as_completed(futures): success, current = await future