cURL / Mailing Lists / curl-library / Single Mail

curl-library

How do I know when all data has been received?

From: Fredrik Persson <fredrik.p.persson_at_gmail.com>
Date: Tue, 14 Feb 2012 13:34:35 +0100

Hi, thanks for a great tool!

I'm using the curl_easy_* API to do a simple HTTP GET. The response is long
enough to be split up into several calls to the callback
CURL_WRITEFUNCTION. I wonder how I know when all the data has been
received? When can I tell, with certainty, that no more calls will be made
to my callback until my next curl_easy_perform()?

TIA!

/Fredrik Persson

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-14