mirror of
https://github.com/golang/go
synced 2024-11-26 18:06:55 -07:00
doc/go1.15: add release notes for crypto/tls
Updates #37419 Change-Id: Ie81c0b03716799c132e90dc231ab816e6ae43469 Reviewed-on: https://go-review.googlesource.com/c/go/+/236166 Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
886caba73c
commit
5716ae6c96
@ -406,6 +406,20 @@ TODO
|
||||
<a href="/pkg/crypto/tls/#Dialer.DialContext"><code>DialContext</code></a>
|
||||
method permits using a context to both connect and handshake with a TLS server.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 229122 -->
|
||||
The new
|
||||
<a href="/pkg/crypto/tls/#Config.VerifyConnection"><code>VerifyConnection</code></a>
|
||||
callback on the <a href="/pkg/crypto/tls/#Config"><code>Config</code></a> type
|
||||
allows custom verification logic for every connection. It has access to the
|
||||
<a href="/pkg/crypto/tls/#ConnectionState"><code>ConnectionState</code></a>
|
||||
which includes peer certificates, SCTs, and stapled OCSP responses.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 230679 -->
|
||||
Auto-generated session ticket keys are now automatically rotated every 24 hours,
|
||||
with a lifetime of 7 days, to limit their impact on forward secrecy.
|
||||
</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user