cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl fails to connect, when server is up after being down for a long time

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Oct 2007 09:49:26 +0200 (CEST)

On Thu, 11 Oct 2007, mini thomas wrote:

> When the server goes down for a long time (say 12 hours), and starts
> working after that, curl is not able to connect to the server. (The
> application uses curl library and continuously posts data to the server--
> every 10 seconds).

So what exactly happens when it fails to connect?

What libcurl version on what operating system?

> Is it because the URL being accessed by the application is cached
> somewhere?? If so, how to disable caching?

There's a 60 second DNS cache, but I doubt that is the reason here.

> If not, what could be the reason for failure ??.

I have no idea. It sounds like a file descriptor leakage or something equally
strange...

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