]> Cypherpunks repositories - gostls13.git/commit
net: properly wrap context cancellation errors and return DNSErrors consistently
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 25 Feb 2025 08:23:26 +0000 (08:23 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 25 Feb 2025 17:40:57 +0000 (09:40 -0800)
commit973a9eb8bf883b3856d94624138ecfe30cac3ea0
treeec4c366af0395633910e0a8f26e8fabff405087e
parent434de2f8e9d3837711e0f853a2873cbb83325019
net: properly wrap context cancellation errors and return DNSErrors consistently

Fixes #71939

Change-Id: Id7cd720fcca2812ffca2b1b20fe923914422d994
GitHub-Last-Rev: 4671f338c91b5826c669fbd113c176e22f5020e5
GitHub-Pull-Request: golang/go#71941
Reviewed-on: https://go-review.googlesource.com/c/go/+/652275
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/cgo_unix.go
src/net/ipsock_plan9.go
src/net/lookup_plan9.go
src/net/lookup_windows.go