aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-05-30 20:04:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-05-30 20:04:44 +0000
commita49e78d9b758cad12d886df2d5c8459a34477bbb (patch)
treed401a8ea0bc3d14fecf47e3b91db1969f23007ae /include
parent9583b51d80b36b5d221898cbebc02e84bac22384 (diff)
Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for setting
the maximum size of the connection cache maximum size of the multi handle.
Diffstat (limited to 'include')
-rw-r--r--include/curl/multi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index 5eab527ae..094c64849 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -309,6 +309,9 @@ typedef enum {
/* This is the argument passed to the timer callback */
CINIT(TIMERDATA, OBJECTPOINT, 5),
+ /* maximum number of entries in the connection cache */
+ CINIT(MAXCONNECTS, LONG, 6),
+
CURLMOPT_LASTENTRY /* the last unused */
} CURLMoption;