cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
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:
Received on 2007-06-01