cURL / Mailing Lists / curl-library / Single Mail

curl-library

may i change the time of CURLE_OPERATION_TIMEDOUT

From: belle <belle.shi_at_yy-inc.com>
Date: Mon, 16 May 2011 11:52:38 +0800

hi all,
   i use the libcurl to download the mp4 file, but when the network is
not good,i found it need to use about 60 seconds to abort the connect
status(the connect is completed, and it had been download some datas,
but after a while there is no data), and the return response reason is
28 CURLE_OPERATION_TIMEDOUT, i want to know if i can change the time to
wait, or i can set an option to make the curl abort immediately when the
network is not good?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-16