From 2360e5ce126d4e7453f15f5d7a6f3527d01a3938 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Mar 2001 14:37:41 +0000 Subject: Added CURLOPT_CONNECTTIMEOUT --- include/curl/curl.h | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3