| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
Re: [cURLpp] C - no more download of 3914 bytes [Good]
From: Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com>
Date: Mon, 25 Sep 2006 09:32:02 -0400
On Sunday 24 September 2006 08:17, Marko MILICEVIC wrote:
Hi!
>
First, you should know that this is the mailing-list for the C++ wrapper of libcURL. So, usually we discuss about the wrapping issues here.
http://cool.haxx.se/mailman/listinfo/curl-library
However, I'll try to answer your problem.
> My problem is:
This following code seem to be the problem:
> size_t write_data(char *buffer, size_t size, size_t
it seems you assume that size*len will be less that 255 characters. But it's probably not the case. From
The callback function will be passed as much data as possible in all invokes,
So, you should do this in a loop taking 255 characters at a time UNTIL you've reached size*len characters.
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info