aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-15 14:37:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-15 14:37:41 +0000
commit2360e5ce126d4e7453f15f5d7a6f3527d01a3938 (patch)
tree192ca95aba867ef9d31e3d53b55f62e1a43146c6
parentd445eac162424bccdb1260bffa8964f75e0dc3b4 (diff)
Added CURLOPT_CONNECTTIMEOUT
-rw-r--r--include/curl/curl.h5
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;