Searched refs:hostcache (Results 1 – 11 of 11) sorted by relevance
/third_party/curl/lib/ |
D | hostip.c | 214 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 …]
|
D | share.c | 45 if(Curl_mk_dnscache(&share->hostcache)) { in curl_share_init() 230 Curl_hash_destroy(&share->hostcache); in curl_share_cleanup()
|
D | share.h | 53 struct Curl_hash hostcache; member
|
D | multihandle.h | 108 struct Curl_hash hostcache; member
|
D | multi.c | 365 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);
|
D | conncache.c | 571 connc->closure_handle->dns.hostcache); in Curl_conncache_close_all_connections()
|
D | setopt.c | 2224 data->dns.hostcache = NULL; in Curl_vsetopt() 2263 data->dns.hostcache = &data->share->hostcache; in Curl_vsetopt()
|
D | urldata.h | 1877 struct Curl_hash *hostcache; member
|
/third_party/curl/tests/unit/ |
D | unit1609.c | 143 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1); 201 Curl_hash_destroy(&multi->hostcache);
|
D | unit1607.c | 141 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
|
/third_party/curl/docs/ |
D | INTERNALS.md | 946 `->hostcache` points to the name cache. It is a hash table for looking up
|