Searched refs:hostcache (Results 1 - 10 of 10) sorted by relevance
/third_party/curl/lib/ |
H A D | hostip.c | 161 * Create a hostcache id string for the provided host + port, to be used by 219 hostcache_prune(struct Curl_hash *hostcache, int cache_timeout, in hostcache_prune() argument 228 Curl_hash_clean_with_criterium(hostcache, in hostcache_prune() 245 if(!data->dns.hostcache) in Curl_hostcache_prune() 246 /* NULL hostcache means we can't do it */ in Curl_hostcache_prune() 255 /* Remove outdated and unused entries from the hostcache */ in Curl_hostcache_prune() 256 time_t oldest = hostcache_prune(data->dns.hostcache, timeout, now); in Curl_hostcache_prune() 265 } while(timeout && (data->dns.hostcache->size > MAX_DNS_CACHE_SIZE)); in Curl_hostcache_prune() 292 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len + 1); in fetch_addr() 299 dns = Curl_hash_pick(data->dns.hostcache, entry_i in fetch_addr() [all...] |
H A D | share.c | 46 Curl_init_dnscache(&share->hostcache, 23); in curl_share_init() 228 Curl_hash_destroy(&share->hostcache); in curl_share_cleanup()
|
H A D | share.h | 47 struct Curl_hash hostcache; member
|
H A D | multihandle.h | 116 struct Curl_hash hostcache; member
|
H A D | multi.c | 387 Curl_init_dnscache(&multi->hostcache, dnssize); in Curl_multi_handle() 426 Curl_hash_destroy(&multi->hostcache); in Curl_multi_handle() 573 if(!data->dns.hostcache || in curl_multi_add_handle() 575 data->dns.hostcache = &multi->hostcache; in curl_multi_add_handle() 879 data->dns.hostcache = NULL; in curl_multi_remove_handle() 2848 Curl_hostcache_clean(data, data->dns.hostcache); 2849 data->dns.hostcache = NULL; 2870 Curl_hash_destroy(&multi->hostcache);
|
H A D | conncache.c | 548 connc->closure_handle->dns.hostcache); in Curl_conncache_close_all_connections()
|
H A D | setopt.c | 2266 data->dns.hostcache = NULL; in Curl_vsetopt() 2305 data->dns.hostcache = &data->share->hostcache; in Curl_vsetopt()
|
H A D | urldata.h | 1937 struct Curl_hash *hostcache; member
|
/third_party/curl/tests/unit/ |
H A D | unit1609.c | 50 /* lowercase host and port to retrieve the addresses from hostcache */ 54 /* 0 to 9 addresses expected from hostcache */ 126 hostcache is setup */ 145 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1); 203 Curl_hash_destroy(&multi->hostcache);
|
H A D | unit1607.c | 50 /* lowercase host and port to retrieve the addresses from hostcache */ 57 /* 0 to 9 addresses expected from hostcache */ 129 hostcache is setup */ 143 dns = Curl_hash_pick(easy->dns.hostcache, entry_id, strlen(entry_id) + 1);
|
Completed in 15 milliseconds