go/doc/next/6-stdlib/99-minor
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
..
archive archive/{zip,tar}: fix Writer.AddFS to include empty directories 2024-09-23 14:32:33 +00:00
bytes bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
crypto crypto/hkdf: init package 2024-11-21 22:55:17 +00:00
debug/elf debug/elf: add SHT_GNU_VERDEF section parsing 2024-11-07 15:23:24 +00:00
encoding encoding/json: add omitzero option 2024-10-02 14:22:27 +00:00
go/types go/types: add go1.23 iterator methods for 10 exported types 2024-07-31 22:54:09 +00:00
hash hash/maphash: add WriteComparable and Comparable 2024-10-02 15:54:11 +00:00
log/slog log/slog: add DiscardHandler 2024-11-14 22:27:09 +00:00
math crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
net net/http: add support for unencrypted HTTP/2 2024-11-21 23:48:38 +00:00
os os: add Root 2024-11-20 23:20:45 +00:00
regexp math/big,regexp: implement the encoding.TextAppender interface 2024-08-15 23:43:00 +00:00
runtime runtime: implement AddCleanup 2024-11-16 03:26:04 +00:00
strings bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeq 2024-08-14 18:23:13 +00:00
testing testing: implement testing.B.Loop 2024-09-20 19:09:41 +00:00
text/template text/template: support range-over-int 2024-09-26 20:17:24 +00:00
time time: implement the encoding.(Binary|Text)Appender for Time 2024-08-20 16:48:48 +00:00
weak weak: move internal/weak to weak, and update according to proposal 2024-11-18 22:29:23 +00:00
0-heading.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00
README doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00

README

API changes and other small changes to the standard library go here.