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.h122 int lifetime_secs; /* ticket lifetime (-1 unknown) */ member
147 curl_off_t time_received, long lifetime_secs,
156 curl_off_t time_received, long lifetime_secs,
H A Dvtls_scache.c113 s->lifetime_secs = 0; in cf_ssl_scache_clear_session()
161 if(lifetime_secs < 0) in Curl_ssl_session_create2()
162 lifetime_secs = -1; /* unknown */ in Curl_ssl_session_create2()
165 lifetime_secs = CURL_SCACHE_MAX_13_LIFETIME_SEC; in Curl_ssl_session_create2()
166 else if(lifetime_secs > CURL_SCACHE_MAX_12_LIFETIME_SEC) in Curl_ssl_session_create2()
167 lifetime_secs = CURL_SCACHE_MAX_12_LIFETIME_SEC; in Curl_ssl_session_create2()
169 s->lifetime_secs = (int)lifetime_secs; in Curl_ssl_session_create2()
275 return (s->lifetime_secs > 0 && in cf_scache_session_expired()
276 (s->time_received + s->lifetime_secs) < now); in cf_scache_session_expired()
726 if(s->lifetime_secs < 0) in cf_scache_peer_add_session()
[all …]
H A Dgtls.h113 int lifetime_secs,
H A Dgtls.c723 int lifetime_secs, in Curl_gtls_cache_session() argument
768 alpn, 0, lifetime_secs, earlydata_max, in Curl_gtls_cache_session()

Completed in 22 milliseconds