pass proxy address instead of object
This commit is contained in:
parent
5c190ca8d1
commit
9c5297b316
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user