cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DNS Failover

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Nov 2006 14:04:03 +0100 (CET)

On Tue, 21 Nov 2006, leonardo.bolanos wrote:

> We would like to know what recommendations do you have for our issue, and
> where would be the best moment to call the "curl_resolv_unlock" function
> when there's a connection failed error.

When the name is no longer needed and the connection has failed, inuse should
of course not be non-zero anymore and then pruning should be possible.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-22