remove HTTP2 support for default Transport

This commit is contained in:
telanflow
2020-08-19 15:40:47 +08:00
parent 3ed5685c09
commit 1f4e4ba4bb

View File

@@ -63,7 +63,6 @@ func NewContext() *Context {
KeepAlive: 30 * time.Second,
DualStack: true,
}).DialContext,
ForceAttemptHTTP2: true,
MaxIdleConns: 100,
IdleConnTimeout: 90 * time.Second,
TLSHandshakeTimeout: 10 * time.Second,