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 /lib/setopt.c | |
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 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index b5f74a93d..6e596fa66 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -128,11 +128,7 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option, data->set.dns_cache_timeout = arg; break; case CURLOPT_DNS_USE_GLOBAL_CACHE: -#if 0 /* deprecated */ - /* remember we want this enabled */ - arg = va_arg(param, long); - data->set.global_dns_cache = (0 != arg) ? TRUE : FALSE; -#endif + /* deprecated */ break; case CURLOPT_SSL_CIPHER_LIST: /* set a list of cipher we want to use in the SSL connection */ |