cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Which timeout expired? CURLOPT_TIMEOUT or CURLOPT_CONNECTTIMEOUT?

From: Dirk Manske <dm_at_nonitor.de>
Date: Tue, 15 Feb 2011 10:02:10 +0100

On Tuesday 15 February 2011 09:18:58 Mykyta Dorokhin wrote:
> >I think they should be
> >CURLE_OPERATION_TIMEDOUT => CURLOPT_TIMEOUT
> >CURLE_COULDNT_CONNECT => CURLOPT_CONNECTTIMEOUT
>
> Not always. In most cases I see CURLE_OPERATION_TEMEOUTD in both
> cases (HTTPs GET/POST messages).
I don't see the problem. Both operations, GET and POST, can run
out of time.
Or do also want to differentiate between time-out while sending
the POST and receiving the answer of the server?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-15