cURL / Mailing Lists / curl-library / Single Mail



From: Ray Satiro via curl-library <>
Date: Sun, 08 Mar 2015 17:35:24 -0400

On 3/2/2015 2:28 AM, Ray Satiro wrote:
> I've started some work on fixing CURLOPT_RESOLVE. I have fixed it so
> that multiple addresses can be stored for each host:port. You can see
> a branch comparison at [1]. I'm exploring the removal of cache entries
> now. Currently it is documented that an entry can be removed by
> -host:port but it is not implemented [2][3]. I can't see an easy way
> to do it. If a Curl_dns_entry has an inuse count and that count is 1
> it seems to me there's really no way to tell if that's because it's a
> user initiated entry (ie CURLOPT_RESOLVE incremented inuse so the
> cache entry is always in use) or because it's actually in use.
> [1]:
> [2]:
> [3]:

I didn't get any feedback on this so I just went ahead and wrote it in
the way I think is most correct.

List admin:
Received on 2015-03-08