]> Cypherpunks repositories - gostls13.git/commit
net: respect hosts file when resolving names for Windows
authorNikita Vaniasin <nikita.vanyasin@gmail.com>
Mon, 28 Aug 2023 13:26:32 +0000 (15:26 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 4 Sep 2023 07:21:38 +0000 (07:21 +0000)
commit33d4a5105cf2b2d549922e909e9239a48b8cefcc
tree2924b000ef5d4e8dd06775f938222905abd063b7
parent53739590571e66cbace8a6b388a79901cfb8fc3a
net: respect hosts file when resolving names for Windows

Fixes #57757.

Change-Id: I896dae8e5905ae98539ab83c9379fd1c9886d44a
Reviewed-on: https://go-review.googlesource.com/c/go/+/467335
Reviewed-by: Mateusz Poliwczak <mpoliwczak34@gmail.com>
Run-TryBot: Mateusz Poliwczak <mpoliwczak34@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/syscall/windows/security_windows.go
src/net/conf.go
src/net/dnsclient_unix_test.go
src/net/hook.go
src/net/hook_plan9.go [new file with mode: 0644]
src/net/hook_unix.go
src/net/hook_windows.go
src/net/hosts.go
src/net/hosts_test.go
src/runtime/os_windows.go