1
0
mirror of https://github.com/golang/go synced 2024-11-15 05:20:21 -07:00
go/doc/next/6-stdlib
Damien Neil bfc8f28068 net/http: add Protocols field to Server and Transport
Support configuring which HTTP version(s) a server or client use
via an explicit set of protocols. The Protocols field takes
precedence over TLSNextProto and ForceAttemptHTTP2.

Fixes #67814

Change-Id: I09ece88f78ad4d98ca1f213157b5f62ae11e063f
Reviewed-on: https://go-review.googlesource.com/c/go/+/607496
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2024-11-05 22:14:59 +00:00
..
99-minor net/http: add Protocols field to Server and Transport 2024-11-05 22:14:59 +00:00
0-heading.md doc: initialize next directory for Go 1.24 2024-07-22 17:55:04 +00:00