[mirror] Go supplementary network libraries https://golang.org/x/net
Find a file
Nicholas S. Husin af27605f51 quic: avoid usage of net.ReadMsgUDPAddrPort in non-linux and darwin builds
Amongst the non-linux and darwin builds, net.ReadMsgUDPAddrPort is not
implemented yet in plan9. There does not seem to be any reason why we
could not use net.ReadFromUDPAddrPort instead, which is implemented in
plan9.

Therefore, use net.ReadFromUDPAddrPort instead for better compatibility.

Fixes golang/go#78223

Change-Id: Id397f28368f0cc291b12c6e06df3de64321a623b
Reviewed-on: https://go-review.googlesource.com/c/net/+/757100
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Nicholas Husin <husin@google.com>
Auto-Submit: Nicholas Husin <nsh@golang.org>
Reviewed-by: Ethan Lee <ethanalee@google.com>
Reviewed-by: Richard Miller <millerresearch@gmail.com>
2026-03-19 19:36:52 -07:00
bpf all: replace deprecated io/ioutil calls 2024-05-21 19:59:00 +00:00
context context: deprecate 2025-11-08 12:28:41 -08:00
dict all: fix a few function names on comments 2022-10-12 13:50:44 +00:00
dns/dnsmessage dns/dnsmessage: reject too large of names early during unpack 2026-03-06 10:52:24 -08:00
html all: remove go1.25 and older build constraints 2026-02-12 07:53:52 -08:00
http all: remove go1.25 and older build constraints 2026-02-12 07:53:52 -08:00
http2 http2: deflake TestServer_Rejects_Too_Many_Streams 2026-03-16 10:43:20 -07:00
icmp icmp, internal/socket, ipv4, ipv6: use binary.NativeEndian 2026-01-29 07:04:13 -08:00
idna all: update go directive to 1.18 2023-10-11 21:58:12 +00:00
internal quic: avoid usage of net.ReadMsgUDPAddrPort in non-linux and darwin builds 2026-03-19 19:36:52 -07:00
ipv4 icmp, internal/socket, ipv4, ipv6: use binary.NativeEndian 2026-01-29 07:04:13 -08:00
ipv6 icmp, internal/socket, ipv4, ipv6: use binary.NativeEndian 2026-01-29 07:04:13 -08:00
lif all: update go directive to 1.18 2023-10-11 21:58:12 +00:00
nettest all: remove go1.25 and older build constraints 2026-02-12 07:53:52 -08:00
netutil all: correct typos in comments 2023-02-07 17:08:46 +00:00
proxy proxy, http/httpproxy: do not mismatch IPv6 zone ids against hosts 2025-03-04 11:00:06 -08:00
publicsuffix publicsuffix: update to 2026-02-06 2026-02-24 09:08:04 -08:00
quic quic: avoid usage of net.ReadMsgUDPAddrPort in non-linux and darwin builds 2026-03-19 19:36:52 -07:00
route all: remove go1.25 and older build constraints 2026-02-12 07:53:52 -08:00
trace trace: fix data race in RenderEvents 2025-11-24 17:04:07 -08:00
webdav http2, webdav, websocket: fix %q verb uses with wrong type 2025-11-28 14:06:04 -08:00
websocket websocket: add missing call to resp.Body.Close 2026-01-06 15:45:35 -08:00
xsrftoken xsrftoken: create no padding base64 string by RawURLEncoding 2024-07-22 18:18:19 +00:00
.gitattributes net: add .gitattributes (fixes windows build) 2014-12-23 17:05:08 +11:00
.gitignore gitignore: remove obsolete reference to .hgignore in comment 2020-03-20 18:12:08 +00:00
codereview.cfg net: add codereview.cfg 2015-03-18 17:04:12 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:42 +00:00
go.mod go.mod: update golang.org/x dependencies 2026-03-11 17:35:42 -07:00
go.sum go.mod: update golang.org/x dependencies 2026-03-11 17:35:42 -07:00
LICENSE LICENSE: update per Google Legal 2024-07-16 16:05:10 +00:00
PATENTS go.net: add PATENTS file to the subrepo. 2012-04-16 11:24:46 +10:00
README.md README: don't recommend go get 2024-11-01 18:28:29 +00:00

Go Networking

Go Reference

This repository holds supplementary Go networking packages.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/net.

The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with "x/net:" in the subject line, so it is easy to find.