go/doc/next
Damien Neil 66abc55707 net/http: add support for unencrypted HTTP/2
Add an UnencryptedHTTP2 protocol value.

Both Server and Transport implement "HTTP/2 with prior knowledge"
as described in RFC 9113, section 3.3. Neither supports the
deprecated HTTP/2 upgrade mechanism (RFC 7540, section 3.2 "h2c").

For Server, UnencryptedHTTP2 controls whether the server
will accept HTTP/2 connections on unencrypted ports.
When enabled, the server checks new connections for
the HTTP/2 preface and routes them appropriately.

For Transport, enabling UnencryptedHTTP2 and disabling HTTP1
causes http:// requests to be made over unencrypted HTTP/2
connections.

For #67816

Change-Id: I2763c4cdec1c2bc6bb8157edb93b94377de8a59b
Reviewed-on: https://go-review.googlesource.com/c/go/+/622976
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2024-11-21 23:48:38 +00:00
..
6-stdlib net/http: add support for unencrypted HTTP/2 2024-11-21 23:48:38 +00:00
1-intro.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
2-language.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
3-tools.md cmd/go: re-enable build JSON from go test -json, now with GODEBUG 2024-11-19 02:39:44 +00:00
4-runtime.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
5-toolchain.md doc: document new restriction on cgo-generated method receicer types 2024-11-20 21:44:47 +00:00
7-ports.md doc/next: pre-announce dropping macOS 11 support 2024-11-15 16:11:06 +00:00