- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for autoSessionTicketKeys (0.38 sec)
-
src/crypto/tls/common.go
return c.sessionTicketKeys } // Fast path for the common case where the key is fresh enough. if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation { return c.autoSessionTicketKeys } // autoSessionTicketKeys are managed by auto-rotation. c.mutex.RUnlock() defer c.mutex.RLock() c.mutex.Lock() defer c.mutex.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
f.Set(reflect.ValueOf([]byte{'x'})) case "mutex", "autoSessionTicketKeys", "sessionTicketKeys": continue // these are unexported fields that are handled separately default: t.Errorf("all fields must be accounted for, but saw unknown field %q", fn) } } // Set the unexported fields related to session ticket keys, which are copied with Clone(). c1.autoSessionTicketKeys = []ticketKey{c1.ticketKeyFromBytes(c1.SessionTicketKey)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0)