aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2023-10-22 16:31:59 -0400
committerDamien Neil <dneil@google.com>2024-05-22 17:23:54 +0000
commitcbd8f16adc4cbe0480687e52d40c486b69c8dff4 (patch)
treedf7fb14a2f054f376f8c32d586b268fd3c006b21 /api
parent8524931a2cdc6a57afdf6f4b3375cb261c2557da (diff)
downloadgo-cbd8f16adc4cbe0480687e52d40c486b69c8dff4.tar.xz
crypto/tls: improved 0-RTT QUIC API
Add synchronous management of stored sessions to QUICConn. This adds QUICStoreSession and QUICResumeSession events, permitting a QUIC implementation to handle session resumption as part of its regular event loop processing. Fixes #63691 Change-Id: I9fe16207cc1986eac084869675bc36e227cbf3f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/536935 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Marten Seemann <martenseemann@gmail.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/next/63691.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/next/63691.txt b/api/next/63691.txt
new file mode 100644
index 0000000000..ba419e2a04
--- /dev/null
+++ b/api/next/63691.txt
@@ -0,0 +1,8 @@
+pkg crypto/tls, const QUICResumeSession = 8 #63691
+pkg crypto/tls, const QUICResumeSession QUICEventKind #63691
+pkg crypto/tls, const QUICStoreSession = 9 #63691
+pkg crypto/tls, const QUICStoreSession QUICEventKind #63691
+pkg crypto/tls, method (*QUICConn) StoreSession(*SessionState) error #63691
+pkg crypto/tls, type QUICConfig struct, EnableStoreSessionEvent bool #63691
+pkg crypto/tls, type QUICEvent struct, SessionState *SessionState #63691
+pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691