Browse Source

Merge pull request #16 from nibrag/islice-fix

islice fix
main
nibrag 7 years ago
committed by GitHub
parent
commit
3911560756
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      aiosocks/connector.py

+ 1
- 1
aiosocks/connector.py View File

@@ -76,7 +76,7 @@ class ProxyConnector(aiohttp.TCPConnector):
sslcontext = None

if not self._remote_resolve:
dst_hosts = await self._resolve_host(req.host, req.port)
dst_hosts = list(await self._resolve_host(req.host, req.port))
dst = dst_hosts[0]['host'], dst_hosts[0]['port']
else:
dst = req.host, req.port


Loading…
Cancel
Save