diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-12-05 23:19:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-05 23:19:50 +0100 |
commit | 361cd03d5861d3639bfcc6b5001f113a05a195cc (patch) | |
tree | 1675d3005226df8e354b9ce8fb3fc47cd9f65dbe | |
parent | 7e4daaf908307220e408754f84a5706efe230a38 (diff) |
CURLOPT_CONNECTTIMEOUT: default is 300 seconds
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
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 2f7e40e26..7cf9a0408 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -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. |