Searched refs:hostcache (Results 1 – 11 of 11) sorted by relevance
/external/curl/lib/ |
D | hostip.c | 211 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 …]
|
D | share.c | 42 if(Curl_mk_dnscache(&share->hostcache)) { in curl_share_init() 200 Curl_hash_destroy(&share->hostcache); in curl_share_cleanup()
|
D | share.h | 49 struct curl_hash hostcache; member
|
D | multihandle.h | 97 struct curl_hash hostcache; member
|
D | multi.c | 354 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()
|
D | conncache.c | 595 connc->closure_handle->dns.hostcache); in Curl_conncache_close_all_connections()
|
D | setopt.c | 2043 data->dns.hostcache = NULL; in Curl_vsetopt() 2076 data->dns.hostcache = &data->share->hostcache; in Curl_vsetopt()
|
D | urldata.h | 1779 struct curl_hash *hostcache; member
|
/external/curl/tests/unit/ |
D | unit1609.c | 140 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1); 197 Curl_hash_destroy(&multi->hostcache);
|
D | unit1607.c | 137 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
|
/external/curl/docs/ |
D | INTERNALS.md | 943 `->hostcache` points to the name cache. It is a hash table for looking up
|