Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: LookupHost sometimes returns slice which when modified ruins cache state. #14212
Running this code:
The first error message is able to resolve localhost but after modifying the returned addr slice, it no longer can.
I have a fix here: https://go-review.googlesource.com/#/c/19201/