cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl not returning all data

From: Daniel Stenberg <daniel-curl_at_haxx.se>
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
version?

> 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 -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net 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! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-05