diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-15 14:37:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-15 14:37:41 +0000 |
commit | 2360e5ce126d4e7453f15f5d7a6f3527d01a3938 (patch) | |
tree | 192ca95aba867ef9d31e3d53b55f62e1a43146c6 /include | |
parent | d445eac162424bccdb1260bffa8964f75e0dc3b4 (diff) |
Added CURLOPT_CONNECTTIMEOUT
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 69f30a399..175eaddf1 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -425,6 +425,11 @@ typedef enum { /* Set to the Entropy Gathering Daemon socket pathname */ CINIT(EGDSOCKET, OBJECTPOINT, 77), + /* Time-out connect operations after this amount of seconds, if connects + are OK within this time, then fine... This only aborts the connect + phase. [Only works on unix-style/SIGALRM operating systems] */ + CINIT(CONNECTTIMEOUT, LONG, 78), + CURLOPT_LASTENTRY /* the last unusued */ } CURLoption; |