cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Jul 2014 23:39:12 +0200 (CEST)

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
Received on 2014-07-21