File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -524,6 +524,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
524
524
fields < code > OCSPResponse</ code > and < code > SignedCertificateTimestamps</ code >
525
525
are now repopulated on client-side resumed connections.
526
526
</ p >
527
+
528
+ < p > <!-- CL 227840 -->
529
+ < a href ="/pkg/crypto/tls/#Conn "> < code > tls.Conn</ code > </ a >
530
+ now returns an opaque error on permanently broken connections, wrapping
531
+ the temporary
532
+ < a href ="/pkg/net/http/#Error "> < code > net.Error</ code > </ a > . To access the
533
+ original < code > net.Error</ code > , use
534
+ < a href ="/pkg/errors/#As "> < code > errors.As</ code > </ a > (or
535
+ < a href ="/pkg/errors/#Unwrap "> < code > errors.Unwrap</ code > </ a > ) instead of a
536
+ type assertion.
537
+ </ p >
527
538
</ dd >
528
539
</ dl > <!-- crypto/tls -->
529
540
You can’t perform that action at this time.
0 commit comments