diff options
| author | Daniel McCarney <daniel@binaryparadox.net> | 2025-11-03 14:47:42 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-25 07:40:46 -0800 |
| commit | 4fb7e083a868946db08db9ef3bc807e21c8fc961 (patch) | |
| tree | 79724aa255d17eb50ffb34fd45fef4740164a84d /api | |
| parent | 31d373534e6b2582817585851f45b8af6386d023 (diff) | |
| download | go-4fb7e083a868946db08db9ef3bc807e21c8fc961.tar.xz | |
crypto/tls: expose HelloRetryRequest state
This commit adds fields to the ClientHelloInfo and ConnectionState
structures to represent hello retry request state information.
ClientHelloInfo gains a new HelloRetryRequest bool field that indicates
if the client hello was sent in response to a TLS 1.3 hello retry
request message previously emitted by the server.
ConnectionState gains a new HelloRetryRequest bool field that indicates
(depending on the connection role) whether the client received a TLS 1.3
hello retry request message from the server, or whether the server sent
such a message to a client.
Fixes #74425
Change-Id: Ic1a5290b8a4ba1568da1d2c2cf9f148150955fa5
Reviewed-on: https://go-review.googlesource.com/c/go/+/717440
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Daniel McCarney <daniel@binaryparadox.net>
Diffstat (limited to 'api')
| -rw-r--r-- | api/next/74425.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/next/74425.txt b/api/next/74425.txt new file mode 100644 index 0000000000..f204476d65 --- /dev/null +++ b/api/next/74425.txt @@ -0,0 +1,2 @@ +pkg crypto/tls, type ConnectionState struct, HelloRetryRequest bool #74425 +pkg crypto/tls, type ClientHelloInfo struct, HelloRetryRequest bool #74425 |
