]> Cypherpunks repositories - gostls13.git/commit
net/http: support BaseContext & ConnContext for http2 Server
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 7 Jun 2019 17:56:24 +0000 (17:56 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 7 Jun 2019 18:48:19 +0000 (18:48 +0000)
commit4c84d878130287f0c1d22afd83471e891600bf0f
tree499a47d0403dfd31a49119cef9f55c69d32cf655
parent74d92db8d77e20b934821b13a92bccb01dbeeb68
net/http: support BaseContext & ConnContext for http2 Server

This is the net/http half of #32476. This supplies the method needed
by the other half in x/net/http2 in the already-submitted CL 181259,
which this CL also bundles in h2_bundle.go.

Thanks to Tom Thorogood (@tmthrgd) for the bug report and test.

Fixes #32476
Updates #30694

Change-Id: I79d2a280e486fbf75d116f6695fd3abb61278765
Reviewed-on: https://go-review.googlesource.com/c/go/+/181260
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go.mod
src/go.sum
src/net/http/h2_bundle.go
src/net/http/serve_test.go
src/net/http/server.go
src/vendor/modules.txt