Home
last modified time | relevance | path

Searched refs:lifetime_secs (Results 1 – 4 of 4) sorted by relevance

/curl/lib/vtls/
H A Dvtls_scache.c108 s->lifetime_secs = 0; in cf_ssl_scache_clear_session()
141 if(lifetime_secs < 0) in Curl_ssl_session_create()
142 lifetime_secs = -1; /* unknown */ in Curl_ssl_session_create()
145 lifetime_secs = CURL_SCACHE_MAX_13_LIFETIME_SEC; in Curl_ssl_session_create()
146 else if(lifetime_secs > CURL_SCACHE_MAX_12_LIFETIME_SEC) in Curl_ssl_session_create()
147 lifetime_secs = CURL_SCACHE_MAX_12_LIFETIME_SEC; in Curl_ssl_session_create()
149 s->lifetime_secs = (int)lifetime_secs; in Curl_ssl_session_create()
252 return (s->lifetime_secs > 0 && in cf_scache_session_expired()
253 (s->time_received + s->lifetime_secs) < now); in cf_scache_session_expired()
703 if(s->lifetime_secs < 0) in cf_scache_peer_add_session()
[all …]
H A Dvtls_scache.h122 int lifetime_secs; /* ticket lifetime (-1 unknown) */ member
144 curl_off_t time_received, long lifetime_secs,
H A Dgtls.h107 int lifetime_secs,
H A Dgtls.c722 int lifetime_secs, in Curl_gtls_cache_session() argument
755 alpn, 0, lifetime_secs, in Curl_gtls_cache_session()

Completed in 15 milliseconds