[net] quic: avoid usage of net.ReadMsgUDPAddrPort in non-linux and darwin builds

0 views
Skip to first unread message

Nicholas Husin (Gerrit)

unread,
Mar 19, 2026, 10:36:54 PM (22 hours ago) Mar 19
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Nicholas Husin, Ethan Lee, Richard Miller, Go LUCI, golang-co...@googlegroups.com

Nicholas Husin submitted the change

Change information

Commit message:
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-by: Nicholas Husin <hu...@google.com>
Auto-Submit: Nicholas Husin <n...@golang.org>
Reviewed-by: Ethan Lee <etha...@google.com>
Reviewed-by: Richard Miller <millerr...@gmail.com>
Files:
  • M internal/http3/nethttp_test.go
  • M internal/http3/quic_test.go
  • M quic/endpoint_test.go
  • M quic/udp_other.go
  • M quic/udp_test.go
Change size: S
Delta: 5 files changed, 4 insertions(+), 20 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Nicholas Husin, +2 by Ethan Lee, +1 by Richard Miller
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: net
Gerrit-Branch: master
Gerrit-Change-Id: Id397f28368f0cc291b12c6e06df3de64321a623b
Gerrit-Change-Number: 757100
Gerrit-PatchSet: 4
Gerrit-Owner: Nicholas Husin <n...@golang.org>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Nicholas Husin <hu...@google.com>
Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages