diff --git a/config/http_config.go b/config/http_config.go index 9b1fad93..5c373d7a 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -29,7 +29,6 @@ import ( "time" "github.com/mwitkow/go-conntrack" - "golang.org/x/net/http2" "gopkg.in/yaml.v2" ) @@ -154,11 +153,6 @@ func NewRoundTripperFromConfig(cfg HTTPClientConfig, name string, disableKeepAli conntrack.DialWithName(name), ), } - // TODO: use ForceAttemptHTTP2 when we move to Go 1.13+. - err := http2.ConfigureTransport(rt.(*http.Transport)) - if err != nil { - return nil, err - } // If a bearer token is provided, create a round tripper that will set the // Authorization header correctly on each request.