cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL not returning error back to application

From: Jogeshwar Karthik Akundi <ajkarthik_at_gmail.com>
Date: Thu, 16 Sep 2010 08:27:32 +0530

On Wed, Sep 15, 2010 at 11:21 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 15 Sep 2010, Jogeshwar Karthik Akundi wrote:
>
> We use CURL in HTTPS and CONNECT_ONLY option to connect to our server.
>> Once the connection is established, we keep sending our custom protocol
>> data.
>>
>> In some cases I have been facing WSA errors 10053/10054 (I have mentioned
>> this error in another thread).
>>
>
> In some cases when we get this 10053/54 error, CURL doesn't send the error
>> back to my application.
>>
>
> Exactly which function calls get those errors and aren't bailing out
> correctly?
>

the curl call is curl_easy_recv(). 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.

>
> --
>
> / 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
Received on 2010-09-16