diff options
| author | James Tucker <jftucker@gmail.com> | 2025-04-11 21:41:00 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-04-14 05:51:58 -0700 |
| commit | 0c0d2572414d4d32feca74d902a761ff25457af9 (patch) | |
| tree | 4354a19f0493291d48aa8fdacd66eaf0efc71b14 /src/errors | |
| parent | f414dfe4f5049c2c8998b4e6b90dee7fca0c225b (diff) | |
| download | go-0c0d2572414d4d32feca74d902a761ff25457af9.tar.xz | |
internal/poll: disable SIO_UDP_NETRESET on Windows
Disable the reception of NET_UNREACHABLE (TTL expired) message reporting
on UDP sockets to match the default behavior of sockets on other
plaforms.
See https://learn.microsoft.com/en-us/windows/win32/winsock/winsock-ioctls#sio_udp_netreset
This is similar to, but a different case from the prior change 3114bd6 /
https://golang.org/issue/5834 that disabled one of the two flags
influencing behavior in response to the reception of related ICMP.
Updates #5834
Updates #68614
Change-Id: I39bc77ab68f5edfc14514d78870ff4a24c0f645e
GitHub-Last-Rev: 78f073bac226aeca438b64acc2c66f76c25f29f8
GitHub-Pull-Request: golang/go#68615
Reviewed-on: https://go-review.googlesource.com/c/go/+/601397
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions
