cURL / Mailing Lists / curl-library / Single Mail


Re: reagrding error in getting complete server response

From: Sunil Chandrasekharan <>
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(;
__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 size doesnt match at all...thats why i am
not getting the comptle response.

Sunil C

List admin:
Received on 2013-11-18