aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2023-05-22 11:06:58 +0200
committerFilippo Valsorda <filippo@golang.org>2023-05-24 23:57:01 +0000
commit2a4f4fc5256f1c743c18979dbcc581c6498de76b (patch)
tree973466f30073916523f8f416f8a6327181be1055 /api
parent6824765b4b981291712ae6d60702f6f0350f57d5 (diff)
downloadgo-2a4f4fc5256f1c743c18979dbcc581c6498de76b.tar.gz
go-2a4f4fc5256f1c743c18979dbcc581c6498de76b.zip
crypto/tls: add SessionState.Extra
This can be used by applications to store additional data in a session. Fixes #57753 For #60105 Change-Id: Ib42387ad64750fa8dbbdf51de5e9c86378bef0ee Reviewed-on: https://go-review.googlesource.com/c/go/+/496822 Run-TryBot: Filippo Valsorda <filippo@golang.org> Reviewed-by: Marten Seemann <martenseemann@gmail.com> Reviewed-by: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/60105.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/60105.txt b/api/next/60105.txt
index 03fb68fa3a..49f7ce2f57 100644
--- a/api/next/60105.txt
+++ b/api/next/60105.txt
@@ -7,3 +7,4 @@ pkg crypto/tls, method (*Config) DecryptTicket([]uint8, ConnectionState) (*Sessi
pkg crypto/tls, method (*Config) EncryptTicket(ConnectionState, *SessionState) ([]uint8, error) #60105
pkg crypto/tls, type Config struct, UnwrapSession func([]uint8, ConnectionState) (*SessionState, error) #60105
pkg crypto/tls, type Config struct, WrapSession func(ConnectionState, *SessionState) ([]uint8, error) #60105
+pkg crypto/tls, type SessionState struct, Extra []uint8 #60105