diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-07 15:39:43 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-04-11 22:22:39 +0200 |
commit | f73de32d469919478fba65b5f4fda6212dc730cd (patch) | |
tree | 81ca14e84a83ba488d01bf9bed08a559f1c17785 /docs/libcurl/opts | |
parent | ebc055011045510bee71043fb6a3a0dac6dca42d (diff) | |
download | curl-f73de32d469919478fba65b5f4fda6212dc730cd.tar.gz |
CURLOPT_DNS_USE_GLOBAL_CACHE: remove
Remove the code too. The functionality has been disabled in code since
7.62.0. Setting this option will from now on simply be ignored and have
no function.
Closes #3654
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.3 b/docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.3 index b23493b41..3638a62e4 100644 --- a/docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.3 +++ b/docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -29,6 +29,8 @@ CURLOPT_DNS_USE_GLOBAL_CACHE \- enable/disable global DNS cache CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_USE_GLOBAL_CACHE, long enable); .SH DESCRIPTION +Has no function since 7.62.0. Do note use! + Pass a long. If the \fIenable\fP value is 1, it tells curl to use a global DNS cache that will survive between easy handle creations and deletions. This is not thread-safe and this will use a global variable. @@ -53,7 +55,7 @@ if(curl) { } .fi .SH AVAILABILITY -Subject for removal in the future. Do not use! +Deprecated since 7.62.0. Has no function. .SH RETURN VALUE Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" |