| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Using CURLOPT_WRITEFUNCTION call back, not recieving all of the data
From: charles <sanders-consulting_at_attbi.com>
Date: Sat, 7 Dec 2002 15:35:12 -0800
Nevermind, returing the number of bytes seems to have fixed it
return nmemb*size;
----- Original Message -----
Hello,
I am using CURL 7.10.2 in a DLL and using write_function that looks like this
size_t write_data ( void *ptr, size_t size, size_t nmemb, void *stream)
And im not recieving all of the data. Without setting the callback, and just executing from command line I see the entire page printed to STDOUT, what gives ? Do i need to flush the buffer somehow ?
Here is the code
CURL* curl;
curl_easy_setopt(curl, CURLOPT_COOKIEJAR,cookie.c_str());
Thanks for the help!
Charles
-------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info