- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for clientSessionCacheKey (0.93 sec)
-
src/crypto/tls/handshake_client.go
} // No acceptable certificate found. Don't send a certificate. return new(Certificate), nil } // clientSessionCacheKey returns a key used to cache sessionTickets that could // be used to resume previously negotiated TLS sessions with a server. func (c *Conn) clientSessionCacheKey() string { if len(c.config.ServerName) > 0 { return c.config.ServerName } if c.conn != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0) -
src/crypto/tls/quic.go
func (q *QUICConn) StoreSession(session *SessionState) error { c := q.conn if !c.isClient { return quicError(errors.New("tls: StoreSessionTicket called on the server")) } cacheKey := c.clientSessionCacheKey() if cacheKey == "" { return nil } cs := &ClientSessionState{session: session} c.config.ClientSessionCache.Put(cacheKey, cs) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_tls13.go
session.ticket = msg.label if c.quic != nil && c.quic.enableStoreSessionEvent { c.quicStoreSession(session) return nil } cs := &ClientSessionState{session: session} if cacheKey := c.clientSessionCacheKey(); cacheKey != "" { c.config.ClientSessionCache.Put(cacheKey, cs) } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 27.9K bytes - Viewed (0)