]> Cypherpunks repositories - gostls13.git/commit
net: move go/cgo resolver forcing functions to one file
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Sat, 10 Feb 2024 18:52:27 +0000 (18:52 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 19 Feb 2024 20:29:27 +0000 (20:29 +0000)
commit7ecef2e3448db347901826c2b58049e73391d631
treef30cd7c677bfbf4820fc535181df5acd1dba5154
parent968b71bce4489dd201c5247c6142a830d90a1ee1
net: move go/cgo resolver forcing functions to one file

The forceGoDNS/forceCgoDNS functions currently return nil
or an empty func on plan9, but they don't have to, because
we already support go resolver there (Dial field required).

Change-Id: Iba6211ca0235874f39e5fcacb3932bb16768c702
GitHub-Last-Rev: 4072ad4a05366a03749e8cfcf27efb9f198aacec
GitHub-Pull-Request: golang/go#63545
Reviewed-on: https://go-review.googlesource.com/c/go/+/534938
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/net/lookup_test.go
src/net/main_conf_test.go
src/net/main_noconf_test.go [deleted file]