mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| 32936.txt | ||
| 36532.txt | ||
| 51473.txt | ||
| 54670.txt | ||
| 61477.txt | ||
| 61515.txt | ||
| 61901.txt | ||
| 62005.txt | ||
| 62384.txt | ||
| 62516.txt | ||
| 63952.txt | ||
| 66450.txt | ||
| 66626.txt | ||
| 67002.txt | ||
| 67057.txt | ||
| 67535.txt | ||
| 67552.txt | ||
| 67813.txt | ||
| 67814.txt | ||
| 67816.txt | ||
| 68500.txt | ||
| 69488.txt | ||
| 69981.txt | ||