Home
last modified time | relevance | path

Searched refs:hostcache (Results 1 – 11 of 11) sorted by relevance

/external/curl/lib/
Dhostip.c211 hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now) in hostcache_prune() argument
218 Curl_hash_clean_with_criterium(hostcache, in hostcache_prune()
231 if((data->set.dns_cache_timeout == -1) || !data->dns.hostcache) in Curl_hostcache_prune()
242 hostcache_prune(data->dns.hostcache, in Curl_hostcache_prune()
273 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
281 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
294 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
452 dns2 = Curl_hash_add(data->dns.hostcache, entry_id, entry_len + 1, in Curl_cache_addr()
864 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len + 1); in Curl_loadhostpairs()
974 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in Curl_loadhostpairs()
[all …]
Dshare.c42 if(Curl_mk_dnscache(&share->hostcache)) { in curl_share_init()
200 Curl_hash_destroy(&share->hostcache); in curl_share_cleanup()
Dshare.h49 struct curl_hash hostcache; member
Dmultihandle.h97 struct curl_hash hostcache; member
Dmulti.c354 if(Curl_mk_dnscache(&multi->hostcache)) in Curl_multi_handle()
375 Curl_hash_destroy(&multi->hostcache); in Curl_multi_handle()
426 if(!data->dns.hostcache || in curl_multi_add_handle()
428 data->dns.hostcache = &multi->hostcache; in curl_multi_add_handle()
726 data->dns.hostcache = NULL; in curl_multi_remove_handle()
2281 Curl_hostcache_clean(data, data->dns.hostcache); in curl_multi_cleanup()
2282 data->dns.hostcache = NULL; in curl_multi_cleanup()
2306 Curl_hash_destroy(&multi->hostcache); in curl_multi_cleanup()
Dconncache.c595 connc->closure_handle->dns.hostcache); in Curl_conncache_close_all_connections()
Dsetopt.c2043 data->dns.hostcache = NULL; in Curl_vsetopt()
2076 data->dns.hostcache = &data->share->hostcache; in Curl_vsetopt()
Durldata.h1779 struct curl_hash *hostcache; member
/external/curl/tests/unit/
Dunit1609.c140 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
197 Curl_hash_destroy(&multi->hostcache);
Dunit1607.c137 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
/external/curl/docs/
DINTERNALS.md943 `->hostcache` points to the name cache. It is a hash table for looking up