Skip to content

Commit b2cdb07

Browse files
authored
Merge pull request #863 from prometheus/remove-http2-comment
Config: remove outdated comment about HTTP/2 issues
2 parents f4c0aea + cd1ab56 commit b2cdb07

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/http_config.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,6 @@ func NewRoundTripperFromConfigWithContext(ctx context.Context, cfg HTTPClientCon
662662
DialContext: dialContext,
663663
}
664664
if opts.http2Enabled && cfg.EnableHTTP2 {
665-
// HTTP/2 support is golang had many problematic cornercases where
666-
// dead connections would be kept and used in connection pools.
667-
// https://github.com/golang/go/issues/32388
668-
// https://github.com/golang/go/issues/39337
669-
// https://github.com/golang/go/issues/39750
670-
671665
http2t, err := http2.ConfigureTransports(rt.(*http.Transport))
672666
if err != nil {
673667
return nil, err

0 commit comments

Comments
 (0)