From 4fda21bce194966b2ba018fbacb7045cb50c67db Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor
+ 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.
+