cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl not returning all data

From: Daniel Stenberg <>
Date: Fri, 5 Dec 2003 14:41:21 +0100 (CET)

On Fri, 5 Dec 2003, Andrew Ingram wrote:

> I am writing my first libcurl program and have come across a problem. Just
> FTI, I'm writing and testing under Debian Linux and FreeBSD and the program
> is in C.

Does the problem appear on both platforms? And you're using a recent libcurl

> Basically, I connect to a site (with an SSL certificate) and perform a POST.
> The web page then returns some data to me. The problem is that only some of
> the data comes back in my C program. If I use a browser to do the same, or
> command line curl, I get returned all the text. What is even stranger, is
> that the text which is missing isn't the end of the text, it's only towards
> the end. i get returned the beginning, and the end line of the text and miss
> a large portion from the middle.

Can you post a stand-alone version of your program that repeats this problem?
Usually when people report this kind of problems, the error is found in the
write callback code...

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
This email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now!
Received on 2003-12-05