Home | History | Annotate | Download | only in lib

Lines Matching full:hostcache

195  * Return a hostcache id string for the provided host + port, to be used by
241 hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now)
248 Curl_hash_clean_with_criterium(hostcache,
261 if((data->set.dns_cache_timeout == -1) || !data->dns.hostcache)
262 /* cache forever means never prune, and NULL hostcache means
271 /* Remove outdated and unused entries from the hostcache */
272 hostcache_prune(data->dns.hostcache,
307 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len+1);
319 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len+1);
405 dns2 = Curl_hash_add(data->dns.hostcache, entry_id, entry_len+1,
806 Curl_hash_delete(data->dns.hostcache, entry_id, entry_len+1);
847 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len+1);