]> granicus.if.org Git - curl/commitdiff
CURLOPT_CONNECTTIMEOUT: default is 300 seconds
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 22:19:50 +0000 (23:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 22:19:50 +0000 (23:19 +0100)
If the option is set to 0, the default timeout will be used - which in
modern libcurl versions equals 300 seconds (== 5 minutes).

Bug: http://curl.haxx.se/mail/lib-2011-12/0051.html
Reported by: Vladimir Grishchenko

docs/libcurl/curl_easy_setopt.3

index 2f7e40e2684b74aa6318e09b4b9a4924617c0134..7cf9a0408ead79d276a7e8ed43623cbe390b83f0 100644 (file)
@@ -1970,9 +1970,9 @@ re-use (default behavior).
 .IP CURLOPT_CONNECTTIMEOUT
 Pass a long. It should contain the maximum time in seconds that you allow the
 connection to the server to take.  This only limits the connection phase, once
-it has connected, this option is of no more use. Set to zero to disable
-connection timeout (it will then only timeout on the system's internal
-timeouts). See also the \fICURLOPT_TIMEOUT\fP option.
+it has connected, this option is of no more use. Set to zero to switch to the
+default built-in connection timeout - 300 seconds. See also the
+\fICURLOPT_TIMEOUT\fP option.
 
 In unix-like systems, this might cause signals to be used unless
 \fICURLOPT_NOSIGNAL\fP is set.