diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-03-15 00:44:16 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-03-15 00:44:16 +0100 |
commit | 9073bacf50da4e4cb181898869221d72b0359faf (patch) | |
tree | dc6cc14ade1fb59b09f43deddaf5301aa6d33f1b | |
parent | ac74a26e7bf952370869b532359929b31ef77b5e (diff) | |
download | htping-9073bacf50da4e4cb181898869221d72b0359faf.tar.gz htping-9073bacf50da4e4cb181898869221d72b0359faf.tar.xz htping-9073bacf50da4e4cb181898869221d72b0359faf.zip |
clarify comment
-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) { |