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
I can't say I have any magic to interrupt a call to getaddrinfo, but it seems like we can at least make it in a goroutine so we can return to the caller on time. This is what's done in the Windows code.
We should make cgo-based DNS lookups respect deadline + cancelation via a Context.
See https://go-review.googlesource.com/#/c/22101/2/src/net/lookup_unix.go@70
/cc @ianlancetaylor
The text was updated successfully, but these errors were encountered: