cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP Post with big data

From: vikram <>
Date: Tue, 14 Aug 2007 20:50:54 +0530


I've callback registered with CURLOPT_DEBUGFUNCTION and CURLOPT_VERBOSE
to print the communication data. There length passed via size_t
parameter to the callback function overflowed, which was causing issues
in verbose run.
Curl is working good for the huge data.

Thank you,

Daniel Stenberg wrote:
> On Mon, 13 Aug 2007, vikram wrote:
>> I'm using curl version 7.16.2
>> While doing post of buffer with length more than 15000 bytes curl
>> sends big chunk of garbage values at end of the buffer.
> There's no magic limit of 15000 in libcurl's POST code...
>> Following is the header in that case, header length seems got garbled
>> as -94.
> What do you mean? Isn't the length the correct size of the given string?
>> Do I need to set any flag or length anywhere to pass big data in
>> single post?
> No, but could it possibly be that you don't keep the post data around
> until libcurl is done with it?
> Can you please provide a full example source snippet that reproduces
> this problem?
Received on 2007-08-14