mirror of
https://github.com/golang/net.git
synced 2026-03-31 02:17:08 +09:00
19f580fd686a6bb31d4af15febe789827169bc26
The addition of FramePriorityUpdate (0x10) in RFC 9218 introduced a gap in the frameParsers array indices (0x0a-0x0f). These indices were initialized to nil, causing a panic when typeFrameParser accessed them for unassigned frame types (e.g., ALTSVC 0x0a). This change adds a nil check in typeFrameParser to safely fallback to parseUnknownFrame for these unassigned types, preventing the crash. Fixes golang/go#77652 Change-Id: I14d7ad85afc1eafabc46417a9fff10f9e0a22446 Reviewed-on: https://go-review.googlesource.com/c/net/+/746180 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Mark Freeman <markfreeman@google.com>
…
Go Networking
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.
Description
Languages
Go
99.9%