Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: curl_easy_send() maximum buffer size?

From: Yuichi Kuroda <>
Date: Thu, 29 Oct 2009 06:16:12 +0900

Interesting. I seem to have resolved this case for now.
For anyone having the same issue as me, the way I got around this was by continuously callingthe curl_easy_send() until the last byte. For each call, I added however much I was able to send in the previouscall to the FILE stream pointer so it would start off sending the next buffer after the last sent byte.

> Date: Mon, 26 Oct 2009 15:59:22 +0100
> From:
> To:
> Subject: Re: curl_easy_send() maximum buffer size?
> On Fri, 23 Oct 2009, Yuichi Kuroda wrote:
> > Hi I'm able to transfer small binary buffers (60kb) with curl_easy_send()
> > but when I try to transfer a buffer of about 14 megabytes, the number of
> > sent bytes gets returned as 12kb. Is there a limit that this function can
> > take?
> No. It depends only on your system's and the underlying libraries'
> limitations.
> --
> /
> -------------------------------------------------------------------
> List admin:
> Etiquette:
Keep your friends updated—even when you’re not signed in.

List admin:
Received on 2009-10-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET