cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL not returning error back to application

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 18 Sep 2010 15:41:52 +0200 (CEST)

On Thu, 16 Sep 2010, Jogeshwar Karthik Akundi wrote:

>> Exactly which function calls get those errors and aren't bailing out
>> correctly?
>
> the curl call is curl_easy_recv().

I checked the code again and I cannot see the code flow where a function
call's return code is not respected. Can you?

> Normally an error would be notified in the call back first and then the
> easy_recv function would return a CURL error code which would be handled.
> But here it wouldn't return and the callback just keeps getting called.

I don't follow you. What callback are you talking about?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-18