Skip to content

Commit

Permalink
[PHP 8.4] Curl: CURLOPT_DNS_USE_GLOBAL_CACHE no-op
Browse files Browse the repository at this point in the history
Commit: php/php-src#15127
PHP.Watch: [PHP 8.4: Curl: `CURLOPT_DNS_USE_GLOBAL_CACHE` no longer has any effect](https://php.watch/versions/8.4/CURLOPT_DNS_USE_GLOBAL_CACHE-no-op)
  • Loading branch information
Ayesh committed Nov 14, 2024
1 parent 8764eff commit efdcf6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions reference/curl/constants_curl_setopt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@
It is conditionally enabled by default if PHP is built for non-threaded use
(CLI, FCGI, Apache2-Prefork, etc.).
Available as of cURL 7.9.3 and deprecated as of cURL 7.11.1.
As of PHP 8.4, this option no longer has any effect.
</para>
</listitem>
</varlistentry>
Expand Down
6 changes: 6 additions & 0 deletions reference/curl/functions/curl-setopt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<constant>CURLOPT_DNS_USE_GLOBAL_CACHE</constant> no longer has any effect, and enabling it on thread-safe PHP builds no longer triggers a warning.
</entry>
</row>
&curl.changelog.handle-param;
<row>
<entry>7.3.15, 7.4.3</entry>
Expand Down

0 comments on commit efdcf6e

Please sign in to comment.