commit | 445eead6062de643453d82a677cf4ca9c977568c | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Jan 08 11:11:03 2025 -0800 |
committer | Gopher Robot <gobot@golang.org> | Thu Jan 09 12:44:42 2025 -0800 |
tree | 488f827134f441123e467285f51e3c9535a80a18 | |
parent | 5566b43feb094961a673d1a320fbc7098c3e104a [diff] |
http2: encode :protocol pseudo-header before regular headers HTTP/2 requires that pseudo-headers (which start with : and are used to pass information other than the regular request headers) be encoded before all regular headers. The x/net/http2 Transport's extended CONNECT support is enabled by the user setting a ":protocol" header in the Request. This header matches the pseudo-header that will be sent on the wire. Ensure that the :protocol pseudo-header is sent before any regular headers. For golang/go#70728 Change-Id: I70de7ad524ab9457d6dfb61cb3fabe3d53c6b39b Reviewed-on: https://go-review.googlesource.com/c/net/+/641476 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Antonio Ojea <aojea@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
This repository holds supplementary Go networking packages.
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.