From f73de32d469919478fba65b5f4fda6212dc730cd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Mar 2019 15:39:43 +0100 Subject: 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 --- docs/DEPRECATE.md | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'docs/DEPRECATE.md') diff --git a/docs/DEPRECATE.md b/docs/DEPRECATE.md index 2ead9567e..4f2570ade 100644 --- a/docs/DEPRECATE.md +++ b/docs/DEPRECATE.md @@ -5,26 +5,6 @@ email the curl-library mailing list as soon as possible and explain to us why this is a problem for you and how your use case can't be satisfied properly using a work around. -## `CURLOPT_DNS_USE_GLOBAL_CACHE` - -This option makes libcurl use a global non-thread-safe cache for DNS if -enabled. The option has been marked as "obsolete" in the header file and in -documentation for several years already. - -There's proper and safe method alternative provided since many years: the -share API. - -### State - -In curl 7.62.0 setting this option to TRUE will not have any effect. The -global cache will not be enabled. The code still remains so it is easy to -revert if need be. - -### Removal - -Remove all global-cache related code from curl around April 2019 (might be -7.66.0). - ## HTTP/0.9 Supporting this is non-obvious and might even come as a surprise to some -- cgit v1.2.3