Lines Matching refs:lifetime_secs
113 s->lifetime_secs = 0; in cf_ssl_scache_clear_session()
127 curl_off_t time_received, long lifetime_secs, in Curl_ssl_session_create() argument
132 time_received, lifetime_secs, in Curl_ssl_session_create()
139 curl_off_t time_received, long lifetime_secs, in Curl_ssl_session_create2() argument
161 if(lifetime_secs < 0) in Curl_ssl_session_create2()
162 lifetime_secs = -1; /* unknown */ in Curl_ssl_session_create2()
164 (lifetime_secs > CURL_SCACHE_MAX_13_LIFETIME_SEC)) 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()
727 s->lifetime_secs = scache->default_lifetime_secs; in cf_scache_peer_add_session()
766 ssl_peer_key, s->ietf_tls_id, s->lifetime_secs, s->alpn, in cf_scache_peer_add_session()
831 ssl_peer_key, s->ietf_tls_id, s->lifetime_secs, s->alpn, in Curl_ssl_scache_take()