]> Cypherpunks repositories - gostls13.git/commit
internal/poll: simplify WriteMsg and ReadMsg on Windows
authorqmuntal <quimmuntal@gmail.com>
Tue, 16 Sep 2025 07:14:47 +0000 (09:14 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 26 Sep 2025 18:37:26 +0000 (11:37 -0700)
commit15fbe3480b1c44113e9cdb26008da9f66d4e57b2
tree5bce8b36797ed03692b820d3c00866d2d7a87ded
parent16ae11a9e1ca064718303f11d30110cf4e4dbbbc
internal/poll: simplify WriteMsg and ReadMsg on Windows

Let newWSAMsg retrieve the socket from the sync pool for unconnected
sockets instead of forcing the caller to do it.

Change-Id: I9b3d30bf3f5be187cbde5735d519b3b14f7b3008
Reviewed-on: https://go-review.googlesource.com/c/go/+/704116
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/internal/poll/fd_windows.go
src/internal/syscall/windows/syscall_windows.go