mirror of
https://github.com/golang/go
synced 2024-11-22 10:54:46 -07:00
bfc8f28068
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>
9 lines
444 B
Plaintext
9 lines
444 B
Plaintext
pkg net/http, method (*Protocols) SetHTTP1(bool) #67814
|
|
pkg net/http, method (*Protocols) SetHTTP2(bool) #67814
|
|
pkg net/http, method (Protocols) String() string #67814
|
|
pkg net/http, method (Protocols) HTTP1() bool #67814
|
|
pkg net/http, method (Protocols) HTTP2() bool #67814
|
|
pkg net/http, type Protocols struct #67814
|
|
pkg net/http, type Server struct, Protocols *Protocols #67814
|
|
pkg net/http, type Transport struct, Protocols *Protocols #67814
|