aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2024-06-24 10:01:47 -0700
committerDamien Neil <dneil@google.com>2024-06-25 17:08:08 +0000
commit90bcc552c0347948166817a602f612f219bc980c (patch)
tree0d3e0c66910af4ea1b9cd00aba1c3f37a395e3db /api
parentb1fd047508aad9f5038dc04d78146cc582328bf5 (diff)
downloadgo-90bcc552c0347948166817a602f612f219bc980c.tar.xz
crypto/tls: apply QUIC session event flag to QUICResumeSession events
Go 1.23 adds two new events to QUICConns: QUICStoreSessionEvent and QUICResumeSessionEvent. We added a QUICConfig.EnableStoreSessionEvent flag to control whether the store-session event is provided or not, because receiving this event requires additional action from the caller: the session must be explicitly stored with QUICConn.StoreSession. We did not add a control for whether the resume-session event is provided, because this event requires no action and the caller is expected to ignore unknown events. However, we never documented the expectation that callers ignore unknown events, and quic-go produces an error when receiving an unexpected event. So change the EnableStoreSessionEvent flag to apply to both new events. Fixes #68124 For #63691 Change-Id: I84af487e52b3815f7b648e09884608f8915cd645 Reviewed-on: https://go-review.googlesource.com/c/go/+/594475 Reviewed-by: Marten Seemann <martenseemann@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/go1.23.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/go1.23.txt b/api/go1.23.txt
index dc92d3fe56..9363bd41f3 100644
--- a/api/go1.23.txt
+++ b/api/go1.23.txt
@@ -18,7 +18,7 @@ pkg crypto/tls, type Config struct, EncryptedClientHelloRejectionVerify func(Con
pkg crypto/tls, type ConnectionState struct, ECHAccepted bool #63369
pkg crypto/tls, type ECHRejectionError struct #63369
pkg crypto/tls, type ECHRejectionError struct, RetryConfigList []uint8 #63369
-pkg crypto/tls, type QUICConfig struct, EnableStoreSessionEvent bool #63691
+pkg crypto/tls, type QUICConfig struct, EnableSessionEvents bool #63691
pkg crypto/tls, type QUICEvent struct, SessionState *SessionState #63691
pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
pkg crypto/x509, func ParseOID(string) (OID, error) #66249