Browse Source

Added github issue link

main
nibrag 8 years ago
parent
commit
efe43e8b84
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      aiosocks/connector.py

+ 1
- 1
aiosocks/connector.py View File

@@ -46,7 +46,7 @@ class SocksConnector(aiohttp.TCPConnector):

# if self._resolver is AsyncResolver and self._proxy.host
# is ip address, then aiodns raise DNSError.
# It's aiohttp bug? Hot fix:
# https://github.com/KeepSafe/aiohttp/pull/874. Fix:
try:
ipaddress.ip_address(self._proxy.host)
proxy_hosts = yield from self._loop.getaddrinfo(self._proxy.host,


Loading…
Cancel
Save