cURL / Mailing Lists / curl-users / Single Mail

curl-users

will CURLOPT_TIMEOUT work in case of partial download

From: Sachin Gole <svgole_at_gmail.com>
Date: Thu, 25 Feb 2010 12:36:19 +0530

Hi All,

I am using curl library for downloading xml data.

this option i am setting ,
curl_easy_setopt(curl,CURLOPT_TIMEOUT,30);

while downloading xml file, i got 50 % download then server stops sending
data
in that case will i get timeout as its partial download and further server
is not processing ?

if download is in progress and timeout occurs then will curl internally
update timeout ?

Thanks,
Sachin

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-25