You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the getaddrinfo_with_timeout function, gai_suspend may return EAI_ALLDONE (-103) in some cases. According to the glibc manual, EAI_ALLDONE indicates that all requests are already complete. This is not an error condition, it simply means there is nothing left to wait for, and the caller should check request results using gai_error(). Currently, the code treats EAI_ALLDONE as an error and returns a connection error. This causes valid DNS resolutions to fail in cases where the requests finish before the timeout elapses.