-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: no way to set timeout for LookupAddr #16672
Comments
Since there are nine |
Yes. And we can't modify any existing API; we can only add. I think the most future-proof option is to add a new And then we can add options in the future to the |
See also: #12503 |
I'd be happy to draft a proposal for this. Should I file a new issue when it's ready? |
@mdlayher, I sent https://golang.org/cl/29440 ... can you review that? |
Done. Thanks for that! |
CL https://golang.org/cl/29440 mentions this issue. |
On Go 1.6, amd64 linux.
My application does a lot of lookups via net.LookupAddr. Sometimes, it gets stuck forever:
I tried to follow the code inside go, but there doesn't seem to be a way to set a timeout for this request.
The text was updated successfully, but these errors were encountered: