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: