Hi I also added this statement to get the content lenght

curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &content_length);

__android_log_print(ANDROID_LOG_DEBUG, "LOG_TAG", "\n OUTPUT:content
length(%d)======\n", strlen(page.data));
__android_log_print(ANDROID_LOG_DEBUG, "LOG_TAG", "\n OUTPUT:page size(%*ld*
)======\n", content_length);



output :

OUTPUT:content length(12076)======
OUTPUT:page size(2049356603)======

the page size and the page.data size doesnt match at all...thats why i am
not getting the comptle response.

regards
Sunil C
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to