Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: make Transport.NewClientConn respect Transport.DisableKeepAlives
While in http/1.1 the `http.Transport.DisableKeepAlives` directive disallows re-usage of the connection, in http2 it's currently implemented as "close the connection as soon as possible" (when the connection is idle). Fixes golang/go#33260 Change-Id: I5c167029062168f53a2cd15b5fbd19c1589cf175 GitHub-Last-Rev: e35ab62 GitHub-Pull-Request: #48 Reviewed-on: https://go-review.googlesource.com/c/net/+/187958 Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
- Loading branch information