aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary.go
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-03-08 11:19:14 +0100
committerQuim Muntal <quimmuntal@gmail.com>2024-03-12 17:24:57 +0000
commit34d28ba932cc26af9ae6c0233f4967a9b7cd94c2 (patch)
treed1fd70f1cc3806f5e693f2850a4cd9bef472d2db /src/encoding/binary/binary.go
parent293fadffe7907dd4fc87201b8d9b7a186946639e (diff)
downloadgo-34d28ba932cc26af9ae6c0233f4967a9b7cd94c2.tar.xz
internal/syscall/windows: implement SupportUnixSocket by enumerating protocols
windows.SupportUnixSocket is currently implemented using a Windows version check. This approach is not reliable, see #27943 and #28061. Also, it uses the undocumented RtlGetNtVersionNumbers API, which we should try to avoid. This PR implements SupportUnixSocket by enumerating the available protocols and checking for AF_UNIX support. Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64 Change-Id: I76cd635067309f09571ad0eac4a5699450a2709a Reviewed-on: https://go-review.googlesource.com/c/go/+/570075 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions