Searched refs:lifetime_secs (Results 1 – 4 of 4) sorted by relevance
/curl/lib/vtls/ |
H A D | vtls_scache.h | 122 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 D | vtls_scache.c | 113 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 D | gtls.h | 113 int lifetime_secs,
|
H A D | gtls.c | 723 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