diff --git a/doc/go1.14.html b/doc/go1.14.html index f66582f180..e072bc675e 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -540,6 +540,20 @@ TODO can be used to fetch all values associated with a canonicalized key.

+ +

+ The + new Transport + field DialTLSContext + can be used to specify an optional dial function for creating + TLS connections for non-proxied HTTPS requests. + This new field can be used instead + of DialTLS, + which is now considered deprecated; DialTLS will + continue to work, but new code should + use DialTLSContext, which allows the transport to + cancel dials as soon as they are no longer needed. +