Skip to content

Commit fde34bc

Browse files
authored
ext/curl: Update UPGRADING and NEWS for GH-13255 (#15668)
[ci skip]
1 parent 95c5a5a commit fde34bc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ PHP NEWS
5353
. Implemented asymmetric visibility for properties. (ilutov)
5454

5555
- Curl:
56+
. Added CURLOPT_PREREQFUNCTION Curl option to set a custom callback
57+
after the connection is established, but before the request is
58+
performed. (Ayesh Karunaratne)
5659
. Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
5760
CURLOPT_FTP_RESPONSE_TIMEOUT. (Ayesh Karunaratne)
5861

UPGRADING

+8-1
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
. Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
296300
CURLOPT_FTP_RESPONSE_TIMEOUT. Both constants hold the same value.
297301

@@ -997,7 +1001,10 @@ PHP 8.4 UPGRADE NOTES
9971001
- Curl:
9981002
. CURL_HTTP_VERSION_3.
9991003
. CURL_HTTP_VERSION_3ONLY.
1000-
. CURL_TCP_KEEPCNT
1004+
. CURL_TCP_KEEPCNT.
1005+
. CURLOPT_PREREQFUNCTION.
1006+
. CURL_PREREQFUNC_OK.
1007+
. CURL_PREREQFUNC_ABORT.
10011008
. CURLOPT_SERVER_RESPONSE_TIMEOUT.
10021009

10031010
- Intl:

0 commit comments

Comments
 (0)