cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reagrding error in getting complete server response

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Nov 2013 23:37:22 +0100 (CET)

On Fri, 15 Nov 2013, Sunil Chandrasekharan wrote:

> chunk.size and chunk.memory
>
> *chunk.size = 12076*
> *chunk.memory = it just prints a small section the first part upto the
> starting line of "iteration 1"*

Because the data contains a binary zero somewhere in there, right? So using
printf() or _anything_ that assumes a terminating byte code is plain wrong.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-15