Loading lib/hostip.c +1 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ hostcache_timestamp_remove(void *datap, void *hc) (struct hostcache_prune_data *) datap; struct Curl_dns_entry *c = (struct Curl_dns_entry *) hc; return (data->now - c->timestamp >= data->cache_timeout); return !c->inuse && (data->now - c->timestamp >= data->cache_timeout); } /* Loading Loading
lib/hostip.c +1 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ hostcache_timestamp_remove(void *datap, void *hc) (struct hostcache_prune_data *) datap; struct Curl_dns_entry *c = (struct Curl_dns_entry *) hc; return (data->now - c->timestamp >= data->cache_timeout); return !c->inuse && (data->now - c->timestamp >= data->cache_timeout); } /* Loading