[php-src] PR #15127: ext/curl: Deprecate `CURLOPT_DNS_USE_GLOBAL_CACHE` constant
| From: | Ayesh | Date: | Sat, 27 Jul 2024 16:16:23 +0000 |
| Subject: | [php-src] PR #15127: ext/curl: Deprecate `CURLOPT_DNS_USE_GLOBAL_CACHE` constant | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27516@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15127
Author: Ayesh
Libcurl
CURLOPT_DNS_USE_GLOBAL_CACHE constant is no longer supported since libcurl[^1]
7.62. This feature is also not thread-safe, and we have special handling to emit warnings if
it's used in ZTS builds.
Impact: Close to 1,100 hits on GitHub code search[^2]
[^1]: [CURLOPT_DNS_USE_GLOBAL_CACHE](https://curl.se/libcurl/c/CURLOPT_DNS_USE_GLOBAL_CACHE.html)
[^2]: [GitHub code search:
CURLOPT_DNS_USE_GLOBAL_CACHE](https://github.com/search?q=CURLOPT_DNS_USE_GLOBAL_CACHE+language%3APHP+++NOT+is%3Aarchived+NOT+path%3A%2F%5Eext%5C%2F%2F&type=code)