]> Cypherpunks repositories - gostls13.git/commit
net: remove sysSocket fallback for Windows 7
authorqmuntal <quimmuntal@gmail.com>
Mon, 26 Jun 2023 13:10:30 +0000 (15:10 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 20 Jul 2023 18:36:30 +0000 (18:36 +0000)
commit7c1157f9544922e96945196b47b95664b1e39108
tree4804aa84870cafd654fc18e25b73b4a314959b05
parenta0f816e4bfb12b433deba2fe930fcbde36ca6ff7
net: remove sysSocket fallback for Windows 7

`syscall.ForkLock` is not used in `syscall.StartProcess` since
CL 288297, so using it in `sysSocket` makes no sense. This CL
goes a little bit further and removes the `sysSocket` fallback for
Windows 7, since it is not supported since go 1.21 (#57003).

Updates #60942

Change-Id: If14a0d94742f1b80af994f9f69938701ee41b402
Reviewed-on: https://go-review.googlesource.com/c/go/+/506136
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/net/hook_windows.go
src/net/internal/socktest/main_test.go
src/net/internal/socktest/main_windows_test.go [deleted file]
src/net/internal/socktest/sys_windows.go
src/net/main_windows_test.go
src/net/sock_windows.go
src/syscall/exec_windows.go