diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-02 13:29:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-02 13:29:05 +0000 |
commit | 38ed8938d865033affed20ed0dbcf47251403e12 (patch) | |
tree | e0417999da9476b10df5f7ccc3d4faac4833fc72 /docs/libcurl | |
parent | 547e91dbf0ff74c16aa48c5917f2bfc4117d7008 (diff) |
Added DNS cache control options
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index f1bd48ad1..2027977e1 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" $Id$ .\" -.TH curl_easy_setopt 3 "10 Dec 2001" "libcurl 7.9.2" "libcurl Manual" +.TH curl_easy_setopt 3 "2 Apr 2002" "libcurl 7.9.2" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS @@ -615,6 +615,17 @@ Pass a long. If the value is non-zero, it tells curl to use the EPSV command when doing passive FTP downloads (which is always does by default). Using EPSV means that it will first attempt to use EPSV before using PASV, but if you pass FALSE (zero) to this option, it will not try using EPSV, only plain PASV. +.TP +.B CURLOPT_DNS_CACHE_TIMEOUT +Pass a long, this sets the timeout in seconds. Name resolves will be kept in +memory for this number of seconds. Set to zero (0) to completely disable +caching, or set to -1 to make the cached entries remain forever. By default, +libcurl caches info for 60 seconds. (Added in libcurl 7.9.3) +.TP +.B CURLOPT_DNS_USE_GLOBAL_CACHE +Pass a long. If the value is non-zero, it tells curl to use a global DNS cache +that will survive between easy handles creations and deletions. This is not +thread-safe and this will use a global varible. (Added in libcurl 7.9.3) .PP .SH RETURN VALUE CURLE_OK (zero) means that the option was set properly, non-zero means an |