This commit is contained in:
J. Nick Koston 2023-12-12 10:17:24 -10:00
parent ba54643355
commit ddacc3e412
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ async def async_resolve_host(
host_addrs.extend(_async_ip_address_to_addrs(ip_address(host), port))
except ValueError:
# Not an IP address
continue
pass
if not host_addrs:
host_addrs.extend(await _async_resolve_host_getaddrinfo(host, port))