diff options
| author | Katie Hockman <katie@golang.org> | 2020-04-28 17:47:27 -0400 |
|---|---|---|
| committer | Katie Hockman <katie@golang.org> | 2020-05-08 02:00:35 +0000 |
| commit | 43f2f5024b2a1438a642fe5340b929d3069099e9 (patch) | |
| tree | 71976d724c8ef5a3db5f160c76451af144a70167 /src/encoding/json/encode.go | |
| parent | f0cea848679b8f8cdc5f76e1b1e36ebb924a68f8 (diff) | |
| download | go-43f2f5024b2a1438a642fe5340b929d3069099e9.tar.xz | |
crypto/tls: rotate session ticket keys
Automatically rotate session ticket keys for servers
that don't already have sessionTicketKeys and that
haven't called SetSessionTicketKeys.
Now, session ticket keys will be rotated every 24 hours
with a lifetime of 7 days. This adds a small performance
cost to existing clients that don't provide a session
ticket encrypted with a fresh enough session ticket key,
which would require a full handshake.
Updates #25256
Change-Id: I15b46af7a82aab9a108bceb706bbf66243a1510f
Reviewed-on: https://go-review.googlesource.com/c/go/+/230679
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
