Commit bc9237a4 authored by Antoine Pitrou's avatar Antoine Pitrou

Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)

parent 15f3352e
......@@ -839,6 +839,8 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
default_gai_errnos = [
('EAI_NONAME', -2),
('EAI_NODATA', -5),
# Encountered when trying to resolve IPv6-only hostnames
('WSANO_DATA', 11004),
]
denied = ResourceDenied("Resource '%s' is not available" % resource_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment