Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: http2 transport doesn't respect all http1 Transport fields #14008
Also DisableCompression and ResponseHeaderTimeout.
Looking at the fields on https://golang.org/pkg/net/http/#Transport ...
Proxy: not applicable (net/http does proxy)
The http2 Transport now respects the http1 Transport's DisableCompression, DisableKeepAlives, and ResponseHeaderTimeout, if the http2 and http1 Transports are wired up together, as they are in the upcoming Go 1.6. Updates golang/go#14008 Change-Id: I2f477f6fe5dbef9d0e5439dfc7f3ec2c0da7f296 Reviewed-on: https://go-review.googlesource.com/18721 Reviewed-by: Andrew Gerrand <email@example.com> Run-TryBot: Brad Fitzpatrick <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com>