diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-15 14:37:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-15 14:37:17 +0000 |
commit | d445eac162424bccdb1260bffa8964f75e0dc3b4 (patch) | |
tree | bd4250502f693db1e263b708072789cc790f8022 /docs/curl_easy_setopt.3 | |
parent | e0a6d20e206b915ca4a0a45031d4170d933470f0 (diff) |
connection timeout is now supported
Diffstat (limited to 'docs/curl_easy_setopt.3')
-rw-r--r-- | docs/curl_easy_setopt.3 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3 index f900807fb..34c647447 100644 --- a/docs/curl_easy_setopt.3 +++ b/docs/curl_easy_setopt.3 @@ -470,6 +470,15 @@ the more secure will the SSL connection become. .B CURLOPT_FORBID_REUSE Pass a char * to the zero terminated path name to the Entropy Gathering Daemon socket. It will be used to seed the random engine for SSL. +.TP +.B 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). This option doesn't work in win32 systems. See also the +.I CURLOPT_TIMEOUT +option. .PP .SH RETURN VALUE 0 means the option was set properly, non-zero means an error as |