TUN-4153: Revert best-effort HTTP2 usage when talking to origins

This commit reverts part of 1cf6ae37eb.
This commit is contained in:
Nuno Diegues
2021-03-31 08:20:03 +01:00
parent 5afa3251dd
commit 36787d9cf7
2 changed files with 7 additions and 3 deletions

View File

@@ -15,8 +15,6 @@ import (
"github.com/pkg/errors"
"github.com/rs/zerolog"
"golang.org/x/net/http2"
"github.com/cloudflare/cloudflared/hello"
"github.com/cloudflare/cloudflared/ipaccess"
"github.com/cloudflare/cloudflared/socks"
@@ -289,7 +287,6 @@ func newHTTPTransport(service originService, cfg OriginRequestConfig, log *zerol
httpTransport.DialContext = dialContext
}
http2.ConfigureTransport(&httpTransport)
return &httpTransport, nil
}