diff options
author | Sterling Hughes <sterling@bumblebury.com> | 2002-01-08 04:26:47 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@bumblebury.com> | 2002-01-08 04:26:47 +0000 |
commit | 22ac08e06db32cb2a7872316a669eb81ec3ea204 (patch) | |
tree | 1afa025886527ee24580723104e03357931cc786 /include | |
parent | 87037136efd4d5eeefb7456c2ad14740a956e47d (diff) |
Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option.
The default cache timeout for this is 60 seconds, which is arbitrary and
completely subject to change :)
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 3d91c85ff..9059d1492 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -491,6 +491,9 @@ typedef enum { /* Non-zero value means to use the global dns cache */ CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91), + /* DNS cache timeout */ + CINIT(DNS_CACHE_TIMEOUT, LONG, 92), + CURLOPT_LASTENTRY /* the last unusued */ } CURLoption; |