aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSterling Hughes <sterling@bumblebury.com>2002-01-07 20:52:32 +0000
committerSterling Hughes <sterling@bumblebury.com>2002-01-07 20:52:32 +0000
commit8d7f402efbcace85851c6bb8f6aa2452c15a9595 (patch)
tree4faf3a7b90bca33494801df5e0b58415d3ff39c3 /include
parentd3299beec734be02a781c393a994d525e3eaaac1 (diff)
Make cach'ing work with threads now, there are now three cases:
- Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 11574175d..3d91c85ff 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -488,6 +488,9 @@ typedef enum {
*/
CINIT(SSLENGINE_DEFAULT, LONG, 90),
+ /* Non-zero value means to use the global dns cache */
+ CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91),
+
CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;