From 0c7319ad920e3239143af6c9f87149ff05faf2ab Mon Sep 17 00:00:00 2001 From: Alvin Lin Date: Tue, 12 Apr 2022 11:41:19 -0700 Subject: [PATCH] Remove comment about PROMETHEUS_COMMON_DISABLE_HTTP2 env var because it is no longer true Signed-off-by: Alvin Lin --- config/http_config.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/http_config.go b/config/http_config.go index 6dda6850..37cb37ce 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -409,12 +409,6 @@ func NewRoundTripperFromConfig(cfg HTTPClientConfig, name string, optFuncs ...HT // https://github.com/golang/go/issues/39337 // https://github.com/golang/go/issues/39750 - // Do not enable HTTP2 if the environment variable - // PROMETHEUS_COMMON_DISABLE_HTTP2 is set to a non-empty value. - // This allows users to easily disable HTTP2 in case they run into - // issues again, but will be removed once we are confident that - // things work as expected. - http2t, err := http2.ConfigureTransports(rt.(*http.Transport)) if err != nil { return nil, err