Lines Matching refs:state
495 connssl->state = ssl_connection_negotiating; in ssl_connect()
500 DEBUGASSERT(connssl->state == ssl_connection_complete); in ssl_connect()
561 if(!ssl_config->primary.cache_session || !data->state.session) in Curl_ssl_getsessionid()
570 general_age = &data->state.sessionage; in Curl_ssl_getsessionid()
573 check = &data->state.session[i]; in Curl_ssl_getsessionid()
638 struct Curl_ssl_session *check = &data->state.session[i]; in Curl_ssl_delsessionid()
672 if(!data->state.session) { in Curl_ssl_set_sessionid()
688 store = &data->state.session[0]; in Curl_ssl_set_sessionid()
689 oldest_age = data->state.session[0].age; /* zero if unused */ in Curl_ssl_set_sessionid()
720 general_age = &data->state.sessionage; in Curl_ssl_set_sessionid()
725 data->state.session[i].sessionid; i++) { in Curl_ssl_set_sessionid()
726 if(data->state.session[i].age < oldest_age) { in Curl_ssl_set_sessionid()
727 oldest_age = data->state.session[i].age; in Curl_ssl_set_sessionid()
728 store = &data->state.session[i]; in Curl_ssl_set_sessionid()
735 store = &data->state.session[i]; /* use this slot */ in Curl_ssl_set_sessionid()
792 if(data->state.session && !SSLSESSION_SHARED(data)) { in Curl_ssl_close_all()
796 Curl_ssl_kill_session(&data->state.session[i]); in Curl_ssl_close_all()
799 Curl_safefree(data->state.session); in Curl_ssl_close_all()
855 if(data->state.session) in Curl_ssl_initsessions()
865 data->state.session = session; in Curl_ssl_initsessions()
866 data->state.sessionage = 1; /* this is brand new */ in Curl_ssl_initsessions()
1581 connssl->state = ssl_connection_none; in cf_close()
1748 DEBUGASSERT(connssl->state == ssl_connection_complete || in ssl_cf_connect()
1749 connssl->state == ssl_connection_deferred); in ssl_cf_connect()
1975 ctx = cf_ctx_new(data, alpn_get_spec(data->state.httpwant, in cf_ssl_create()
2345 if(connssl->state == ssl_connection_deferred) in Curl_alpn_set_negotiated()
2352 if(connssl->state == ssl_connection_deferred) in Curl_alpn_set_negotiated()