From: Katie Hockman
Date: Mon, 10 Aug 2020 15:31:22 +0000 (-0400)
Subject: doc/go1.15: document crypto/tls permanent error
X-Git-Tag: go1.16beta1~1389
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7ad776dda531ebd406e03d26b7eeed3a89321cc1;p=gostls13.git
doc/go1.15: document crypto/tls permanent error
Fixes #40554
Change-Id: Icc71cb9bab3d1efaa8e586c71cc38bc1d0d1e676
Reviewed-on: https://go-review.googlesource.com/c/go/+/247698
Run-TryBot: Katie Hockman
TryBot-Result: Gobot Gobot
Reviewed-by: Filippo Valsorda
---
diff --git a/doc/go1.15.html b/doc/go1.15.html
index 17e442d4c6..80f8828e9b 100644
--- a/doc/go1.15.html
+++ b/doc/go1.15.html
@@ -524,6 +524,17 @@ Do not send CLs removing the interior tags from such phrases.
fields OCSPResponse
and SignedCertificateTimestamps
are now repopulated on client-side resumed connections.
+
+
+ tls.Conn
+ now returns an opaque error on permanently broken connections, wrapping
+ the temporary
+ net.Error
. To access the
+ original net.Error
, use
+ errors.As
(or
+ errors.Unwrap
) instead of a
+ type assertion.
+