cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Issues_Http_chunked_Method

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Sep 2012 08:58:12 +0200 (CEST)

On Mon, 17 Sep 2012, karan tandel wrote:

> Thanks, for the reply. Now when I am getting http data and header callback,
> for chinked method I am getting repeatedly write callback function with
> different chunk size. I am processing that data in callback. But when
> processing of data takes long time curl internally provides 56 error. My
> question is why it is giving that error.?? Is it because of processing data
> at callback?

1. please don't top-post

2. please use the curl-library mailing list for libcurl questions and
discussions!

3. 56 means CURLE_RECV_ERROR and exactly why recv() fails can be a bit hard to
for us to tell without a lot more info. You handling data slow might explain
it, but I can't say that for sure.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-17