diff options
-rw-r--r-- | htping.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htping.go b/htping.go index 6476752..a3c6832 100644 --- a/htping.go +++ b/htping.go @@ -84,7 +84,7 @@ func newTransport() *transport { TLSHandshakeTimeout: 5 * time.Second, DisableKeepAlives: !keepalive, TLSClientConfig: tlsconfig, - // we set TLSClientConfig, so http2 is off by default anyway + // we set TLSClientConfig, so http2 is off by default ForceAttemptHTTP2: !http11, DialContext: func(ctx context.Context, _, addr string) (net.Conn, error) { |