cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reagrding error in getting complete server response

From: Sunil Chandrasekharan <sunil.kainat_at_gmail.com>
Date: Mon, 18 Nov 2013 11:28:16 +0900

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
Received on 2013-11-18