]> Cypherpunks repositories - gostls13.git/commit
net/http: add HTTP2Config
authorDamien Neil <dneil@google.com>
Tue, 4 Jun 2024 18:06:44 +0000 (11:06 -0700)
committerDamien Neil <dneil@google.com>
Thu, 29 Aug 2024 17:38:46 +0000 (17:38 +0000)
commitf84dea3a01ea86a8d51cd55318e9ec9b1724b24f
tree3e207d9ee4c70eba94f7b8d4f05d7f2bfac02158
parent4f852b9734249c063928b34a02dd689e03a8ab2c
net/http: add HTTP2Config

Add a field to Server and Transport containing HTTP/2 configuration
parameters.

This field will have no effect until golang.org/x/net/http2 is updated
to make use of it, and h2_bundle.go is updated with the new http2
package.

For #67813

Change-Id: I81d7f8e9ddea78f9666383983aec43e3884c13ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/602175
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
api/next/67813.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/net/http/67813.md [new file with mode: 0644]
src/net/http/http.go
src/net/http/server.go
src/net/http/transport.go
src/net/http/transport_test.go