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 --- lib/urldata.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 6558112d3..22a8e6dda 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1691,7 +1691,6 @@ struct UserDefined { bit ftp_use_pret:1; /* if PRET is to be used before PASV or not */ bit no_signal:1; /* do not use any signal/alarm handler */ - bit global_dns_cache:1; /* subject for future removal */ bit tcp_nodelay:1; /* whether to enable TCP_NODELAY or not */ bit ignorecl:1; /* ignore content length */ bit ftp_skip_ip:1; /* skip the IP address the FTP server passes on to @@ -1732,7 +1731,6 @@ struct Names { struct curl_hash *hostcache; enum { HCACHE_NONE, /* not pointing to anything */ - HCACHE_GLOBAL, /* points to the (shrug) global one */ HCACHE_MULTI, /* points to a shared one in the multi handle */ HCACHE_SHARED /* points to a shared one in a shared object */ } hostcachetype; -- cgit v1.2.3