aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohan Brandhorst <johan.brandhorst@gmail.com>2020-11-12 20:34:51 +0000
committerKatie Hockman <katie@golang.org>2020-12-17 20:04:25 +0000
commit520f3b72db7befab2028d9a47376267cf2d274a9 (patch)
tree461fbaf1b007dc1a1f0e849286bf90f959916d4d /doc
parent2ff33f5e443165e55a080f3a649e4c070c4096d1 (diff)
downloadgo-520f3b72db7befab2028d9a47376267cf2d274a9.tar.gz
go-520f3b72db7befab2028d9a47376267cf2d274a9.zip
crypto/tls: revert "add HandshakeContext method to Conn"
This reverts CL 246338. Reason for revert: waiting for 1.17 release cycle Updates #32406 Change-Id: I074379039041e086c62271d689b4b7f442281663 Reviewed-on: https://go-review.googlesource.com/c/go/+/269697 Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org> Trust: Katie Hockman <katie@golang.org> Trust: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.16.html17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html
index b3d905c168..1694b2277d 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -539,16 +539,6 @@ func TestFoo(t *testing.T) {
indefinitely.
</p>
- <p><!-- CL 246338 -->
- The new <a href="/pkg/crypto/tls#Conn.HandshakeContext"><code>Conn.HandshakeContext</code></a>
- method allows cancellation of an in-progress handshake. The provided
- context is accessible through the new
- <a href="/pkg/crypto/tls#ClientHelloInfo.Context"><code>ClientHelloInfo.Context</code></a>
- and <a href="/pkg/crypto/tls#CertificateRequestInfo.Context">
- <code>CertificateRequestInfo.Context</code></a> methods. Canceling the
- context after the handshake has finished has no effect.
- </p>
-
<p><!-- CL 239748 -->
Clients now return a handshake error if the server selects
<a href="/pkg/crypto/tls/#ConnectionState.NegotiatedProtocol">
@@ -771,13 +761,6 @@ func TestFoo(t *testing.T) {
generating a SameSite key without a value.
</p>
- <p><!-- CL 246338 -->
- The <a href="/pkg/net/http/"><code>net/http</code></a> package now passes the
- <a href="/pkg/net/http/#Request.Context"><code>Request</code> context</a> to
- <a href="/pkg/crypto/tls#Conn.HandshakeContext"><code>tls.Conn.HandshakeContext</code></a>
- when performing TLS handshakes.
- </p>
-
<p><!-- CL 250039 -->
The <a href="/pkg/net/http/#Client">Client</a> now sends
an explicit <code>Content-Length:</code> <code>0</code>