Home
last modified time | relevance | path

Searched refs:conn_cache (Results 1 – 10 of 10) sorted by relevance

/external/curl/lib/
Dconncache.c127 connc->closure_handle->state.conn_cache = connc; in Curl_conncache_init()
173 num = data->state.conn_cache->num_conn; in Curl_conncache_size()
238 bundle = Curl_conncache_find_bundle(conn, data->state.conn_cache, NULL); in Curl_conncache_add_conn()
249 rc = conncache_add_bundle(data->state.conn_cache, key, bundle); in Curl_conncache_add_conn()
283 struct conncache *connc = data->state.conn_cache; in Curl_conncache_remove_conn()
461 data->state.conn_cache->num_conn--; in Curl_conncache_extract_bundle()
463 data->state.conn_cache->num_conn)); in Curl_conncache_extract_bundle()
479 struct conncache *connc = data->state.conn_cache; in Curl_conncache_extract_oldest()
Dshare.c106 if(Curl_conncache_init(&share->conn_cache, 103)) in curl_share_setopt()
200 Curl_conncache_close_all_connections(&share->conn_cache); in curl_share_cleanup()
201 Curl_conncache_destroy(&share->conn_cache); in curl_share_cleanup()
Dshare.h48 struct conncache conn_cache; member
Dmultihandle.h123 struct conncache conn_cache; member
Dmulti.c364 if(Curl_conncache_init(&multi->conn_cache, chashsize)) in Curl_multi_handle()
403 Curl_conncache_destroy(&multi->conn_cache); in Curl_multi_handle()
461 data->state.conn_cache = &data->share->conn_cache; in curl_multi_add_handle()
463 data->state.conn_cache = &multi->conn_cache; in curl_multi_add_handle()
522 data->state.conn_cache->closure_handle->set.timeout = data->set.timeout; in curl_multi_add_handle()
523 data->state.conn_cache->closure_handle->set.server_response_timeout = in curl_multi_add_handle()
525 data->state.conn_cache->closure_handle->set.no_signal = in curl_multi_add_handle()
817 Curl_conncache_foreach(data, data->state.conn_cache, in curl_multi_remove_handle()
829 data->state.conn_cache = NULL; in curl_multi_remove_handle()
2620 data->state.conn_cache = NULL;
[all …]
Deasy.c829 outcurl->state.conn_cache = NULL; in curl_easy_duphandle()
1194 static CURLcode upkeep(struct conncache *conn_cache, void *data) in upkeep() argument
1198 conn_cache, in upkeep()
1215 return upkeep(&data->multi_easy->conn_cache, data); in curl_easy_upkeep()
Durl.c1021 Curl_timediff(now, data->state.conn_cache->last_cleanup); in prune_dead_connections()
1028 while(Curl_conncache_foreach(data, data->state.conn_cache, &prune, in prune_dead_connections()
1039 data->state.conn_cache->last_cleanup = now; in prune_dead_connections()
1088 bundle = Curl_conncache_find_bundle(needle, data->state.conn_cache, in ConnectionExists()
3595 result = Curl_conncache_add_conn(data->state.conn_cache, conn);
3766 Curl_conncache_find_bundle(conn, data->state.conn_cache, &bundlehost);
3820 result = Curl_conncache_add_conn(data->state.conn_cache, conn);
Dconnect.c1401 &data->multi_easy->conn_cache: in Curl_getconnectinfo()
1402 &data->multi->conn_cache, &find, conn_is_conn); in Curl_getconnectinfo()
Durldata.h1297 struct conncache *conn_cache; member
/external/curl/docs/
DINTERNALS.md958 `->conn_cache` points to the connection cache. It keeps track of all