From 8d7f402efbcace85851c6bb8f6aa2452c15a9595 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 7 Jan 2002 20:52:32 +0000 Subject: 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 --- include/curl/curl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.2.3