File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ PHP NEWS
28
28
- Curl:
29
29
. Added curl_multi_get_handles(). (timwolla)
30
30
. 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)
31
33
32
34
- Date:
33
35
. 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
95
95
. Added support for share handles that are persisted across multiple PHP
96
96
requests, safely allowing for more effective connection reuse.
97
97
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.
98
110
99
111
- DOM:
100
112
. Added Dom\Element::$outerHTML.
@@ -265,6 +277,11 @@ PHP 8.5 UPGRADE NOTES
265
277
- Core:
266
278
. PHP_BUILD_DATE.
267
279
280
+ - Curl:
281
+ . CURLINFO_USED_PROXY.
282
+ . CURLINFO_HTTPAUTH_USED.
283
+ . CURLINFO_PROXYAUTH_USED.
284
+
268
285
- POSIX:
269
286
. POSIX_SC_OPEN_MAX.
270
287
You can’t perform that action at this time.
0 commit comments