Skip to content

Commit ae0aa7a

Browse files
committed
ext/curl: Update UPGRADING and NEWS for phpGH-13255
1 parent fc01e2e commit ae0aa7a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ PHP NEWS
3232
EAI_SYSTEM not found). (nielsdos)
3333
. Implemented asymmetric visibility for properties. (ilutov)
3434

35+
- Curl:
36+
. Added CURLOPT_PREREQFUNCTION Curl option to set a custom callback
37+
after the connection is established, but before the request is
38+
performed. (Ayesh Karunaratne)
39+
3540
- Date:
3641
. Fixed bug GH-13773 (DatePeriod not taking into account microseconds for end
3742
date). (Mark Bennewitz, Derick)

UPGRADING

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ PHP 8.4 UPGRADE NOTES
292292
supported (true) or not (false).
293293
. Added CURL_HTTP_VERSION_3 and CURL_HTTP_VERSION_3ONLY constants (available
294294
since libcurl 7.66 and 7.88) as available options for CURLOPT_HTTP_VERSION.
295+
. Added CURLOPT_PREREQFUNCTION as a Curl option that accepts a callback to
296+
be called after the connection is made, but before the request is sent.
297+
The callback must return either CURL_PREREQFUNC_OK or CURL_PREREQFUNC_ABORT
298+
to allow or abort the request.
295299

296300
- Date:
297301
. Added static methods
@@ -995,7 +999,10 @@ PHP 8.4 UPGRADE NOTES
995999
- Curl:
9961000
. CURL_HTTP_VERSION_3.
9971001
. CURL_HTTP_VERSION_3ONLY.
998-
. CURL_TCP_KEEPCNT
1002+
. CURL_TCP_KEEPCNT.
1003+
. CURLOPT_PREREQFUNCTION.
1004+
. CURL_PREREQFUNC_OK.
1005+
. CURL_PREREQFUNC_ABORT.
9991006

10001007
- Intl:
10011008
. The IntlDateFormatter class exposes now the new PATTERN constant

0 commit comments

Comments
 (0)