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: DNSError.IsTimeout almost never set #8748
The net.DNSError type has an IsTimeout field which seems to be set a single time inside the Go-only resolver. Besides being public, this field is also the direct result of the DNSError.Timeout and DNSError.Temporary methods, which means all three are always false in a standard build, whether the error was a timeout or not. Found that out while looking at issue #8602. Probably deserves to be documented, if not fixed.