Thanks Daniel. Makes sense.

-----Original Message-----
From: curl-library [mailto:[email protected]] On Behalf Of 
Daniel Stenberg
Sent: Monday, July 21, 2014 2:39 PM
To: libcurl development
Subject: Re: curl_timeout set to 3600 but curl_easy_perform timesout for 188 
seconds and returns code=7, error: 'Couldn't connect to server(couldn't connect 
to host

On Mon, 21 Jul 2014, Mayank Kumar (mayankum) wrote:

> I am just trying to understand why we are timing out for 188 seconds 
> although the timeoutis set to 3600 using

The timeout is the maximum amount of time allowed to be used. It doesn't mean 
that libcurl will keep retrying that long.

In your case the connect() operation simply returned an error after 188 seconds 
- as in it gave up.

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to