cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Strange "couldn't connect to host" error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Jun 2007 13:22:18 +0200 (CEST)

On Thu, 31 May 2007, Jonathan Arnold wrote:

>>> We have a routine that gets called every second, goes out to the web, and
>>> downloads a tiny (about 50 characters) file.

> curl, v7.16.2 Yes, it downloads from the same server.

Ok, but isn't then the same single connection being re-used all the time? What
is the difference after 30 minutes? (1800 fetches!)

>>> It runs okay for some random time, say 30 minutes, but then returns back a
>>> "Couldn't connect to host" error.

For how long? I mean does it fail once and work the next attempt again?

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