curl-library
CURLOPT_CONNECTTIMEOUT - documentation is incorrect?
From: Vladimir Grishchenko <vladgri_at_hotmail.com>
Date: Mon, 5 Dec 2011 11:42:59 -0800
Date: Mon, 5 Dec 2011 11:42:59 -0800
The description of this option contains the statement:
"Set to zero to disable connection timeout (it will then only timeout on the system's internal timeouts)."
By looking at the Curl_timeleft() I don't see this can ever happen, if set to 0 the connect timeout will either be capped by the value of CURLOPT_TIMEOUT or if the latter is set to 0 then by DEFAULT_CONNECT_TIMEOUT (5 mins). Am I missing something?
Thanks,
Vladimir
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-05