Lines Matching refs:lifetime_secs
108 s->lifetime_secs = 0; in cf_ssl_scache_clear_session()
122 curl_off_t time_received, long lifetime_secs, in Curl_ssl_session_create() argument
141 if(lifetime_secs < 0) in Curl_ssl_session_create()
142 lifetime_secs = -1; /* unknown */ in Curl_ssl_session_create()
144 (lifetime_secs > CURL_SCACHE_MAX_13_LIFETIME_SEC)) 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()
704 s->lifetime_secs = scache->default_lifetime_secs; in cf_scache_peer_add_session()
742 ssl_peer_key, s->ietf_tls_id, s->lifetime_secs, s->alpn, in cf_scache_peer_add_session()