cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl not returning all data

From: Pixel <>
Date: Fri, 5 Dec 2003 09:53:36 -0500

> No problem. I attach a c file to this email. Unfortunately, I have to
> obfuscate certain things (like the url) and I can't supply the
> certificate for obvious reasons, but I think that there is enough in
> there to see what is going on.
> Please let me know if you need anything else.
> Regards,
> Andrew

I noticed that you are not calling fclose() on the files you're opening. Try
adding that where you cleanup after curl_easy_perform() and see if you get a
different result. It's possible the data is not flushed properly before your
program exits.

Lars Nilsson
Quantum Chamaeleon

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