aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-03-25 10:29:22 +0100
committerGopher Robot <gobot@golang.org>2025-03-25 11:36:25 -0700
commit936bb82ddb7f6456e3008b26f0398880d11ce3c0 (patch)
treeac324883e5eb7b7ce9b3814d25101607d0d5c090 /src/bytes/bytes.go
parent35c986489795b7d5619fb14ec5077fd3c1758eb7 (diff)
downloadgo-936bb82ddb7f6456e3008b26f0398880d11ce3c0.tar.xz
internal/poll,net: set SIO_UDP_CONNRESET in net
Setting the SIO_UDP_CONNRESET option in internal/poll.FD.Init adds unnecessary complexity to the FD.Init signature and implementation. Better to set it in the net package when initializing the UDP connection, which is where conceptually it belongs. While here, update an outdated comment in FD.Init that said the runtime poller doesn't support I/O operations initialized by the user outside the internal/poll package. It does support those operations since CL 561895. For #19098. Updates #21172. Change-Id: I9a70b0deafdb4619830abe2147e2d366b4c2b890 Reviewed-on: https://go-review.googlesource.com/c/go/+/660496 Auto-Submit: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/bytes/bytes.go')
0 files changed, 0 insertions, 0 deletions