File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ PHP NEWS
2828- Curl:
2929 . Added curl_multi_get_handles(). (timwolla)
3030 . Added curl_share_init_persistent(). (enorris)
31+ . Added CURLINFO_USED_PROXY, CURLINFO_HTTPAUTH_USED, and CURLINFO_PROXYAUTH_USED
32+ support to curl_getinfo. (Ayesh Karunaratne)
3133
3234- Date:
3335 . Fix undefined behaviour problems regarding integer overflow in extreme edge
Original file line number Diff line number Diff line change @@ -95,6 +95,18 @@ PHP 8.5 UPGRADE NOTES
9595 . Added support for share handles that are persisted across multiple PHP
9696 requests, safely allowing for more effective connection reuse.
9797 RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
98+ . Added support for CURLINFO_USED_PROXY (libcurl >= 8.7.0),
99+ CURLINFO_HTTPAUTH_USED, and CURLINFO_PROXYAUTH_USED
100+ (libcurl >= 8.12.0) to the curl_getinfo() function.
101+ When curl_getinfo() returns an array, the same information
102+ is available as "used_proxy", "httpauth_used", and "proxyauth_used"
103+ keys.
104+ CURLINFO_USED_PROXY gets zero set if no proxy was used in the
105+ previous transfer or a non-zero value if a proxy was used.
106+ CURLINFO_HTTPAUTH_USED and CURLINFO_PROXYAUTH_USED get bitmasks
107+ indicating the http and proxy authentication methods that were
108+ used in the previous request. See CURLAUTH_* constants for
109+ possible values.
98110
99111- DOM:
100112 . Added Dom\Element::$outerHTML.
@@ -265,6 +277,11 @@ PHP 8.5 UPGRADE NOTES
265277- Core:
266278 . PHP_BUILD_DATE.
267279
280+ - Curl:
281+ . CURLINFO_USED_PROXY.
282+ . CURLINFO_HTTPAUTH_USED.
283+ . CURLINFO_PROXYAUTH_USED.
284+
268285- POSIX:
269286 . POSIX_SC_OPEN_MAX.
270287
You can’t perform that action at this time.
0 commit comments