cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: lib1513 returned 7, when expecting 42

From: Ray Satiro <raysatiro_at_yahoo.com>
Date: Thu, 21 Aug 2014 14:06:08 -0400

On 8/21/2014 1:39 PM, Ray Satiro wrote:
> CURLOPT_TIMEOUT has a documented return value of CURLE_OK [2]. If the
> timeout can occur at any point, how can any return code be guaranteed;
> or why should any return code be guaranteed? (Real question not
> rhetorical).

Well, to answer my own question, I misread the documentation. That's
what I get for glancing. CURLE_OK is what's returned by
curl_easy_setopt() after setting the timeout.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-21