Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dhostip.c214 hostcache_prune(struct Curl_hash *hostcache, long cache_timeout, time_t now) in hostcache_prune() argument
221 Curl_hash_clean_with_criterium(hostcache, in hostcache_prune()
234 if((data->set.dns_cache_timeout == -1) || !data->dns.hostcache) in Curl_hostcache_prune()
245 hostcache_prune(data->dns.hostcache, in Curl_hostcache_prune()
274 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
282 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr()
295 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()
1007 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len + 1); in Curl_loadhostpairs()
1124 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in Curl_loadhostpairs()
[all …]
Dshare.c45 if(Curl_mk_dnscache(&share->hostcache)) { in curl_share_init()
230 Curl_hash_destroy(&share->hostcache); in curl_share_cleanup()
Dshare.h53 struct Curl_hash hostcache; member
Dmultihandle.h108 struct Curl_hash hostcache; member
Dmulti.c365 if(Curl_mk_dnscache(&multi->hostcache)) in Curl_multi_handle()
409 Curl_hash_destroy(&multi->hostcache); in Curl_multi_handle()
460 if(!data->dns.hostcache || in curl_multi_add_handle()
462 data->dns.hostcache = &multi->hostcache; in curl_multi_add_handle()
782 data->dns.hostcache = NULL; in curl_multi_remove_handle()
2614 Curl_hostcache_clean(data, data->dns.hostcache);
2615 data->dns.hostcache = NULL;
2639 Curl_hash_destroy(&multi->hostcache);
Dconncache.c571 connc->closure_handle->dns.hostcache); in Curl_conncache_close_all_connections()
Dsetopt.c2224 data->dns.hostcache = NULL; in Curl_vsetopt()
2263 data->dns.hostcache = &data->share->hostcache; in Curl_vsetopt()
Durldata.h1877 struct Curl_hash *hostcache; member
/third_party/curl/tests/unit/
Dunit1609.c143 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
201 Curl_hash_destroy(&multi->hostcache);
Dunit1607.c141 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
/third_party/curl/docs/
DINTERNALS.md946 `->hostcache` points to the name cache. It is a hash table for looking up