File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ PHP NEWS
53
53
. Implemented asymmetric visibility for properties. (ilutov)
54
54
55
55
- 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)
56
59
. Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
57
60
CURLOPT_FTP_RESPONSE_TIMEOUT. (Ayesh Karunaratne)
58
61
Original file line number Diff line number Diff line change @@ -292,6 +292,10 @@ PHP 8.4 UPGRADE NOTES
292
292
supported (true) or not (false).
293
293
. Added CURL_HTTP_VERSION_3 and CURL_HTTP_VERSION_3ONLY constants (available
294
294
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.
295
299
. Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as
296
300
CURLOPT_FTP_RESPONSE_TIMEOUT. Both constants hold the same value.
297
301
@@ -997,7 +1001,10 @@ PHP 8.4 UPGRADE NOTES
997
1001
- Curl:
998
1002
. CURL_HTTP_VERSION_3.
999
1003
. CURL_HTTP_VERSION_3ONLY.
1000
- . CURL_TCP_KEEPCNT
1004
+ . CURL_TCP_KEEPCNT.
1005
+ . CURLOPT_PREREQFUNCTION.
1006
+ . CURL_PREREQFUNC_OK.
1007
+ . CURL_PREREQFUNC_ABORT.
1001
1008
. CURLOPT_SERVER_RESPONSE_TIMEOUT.
1002
1009
1003
1010
- Intl:
You can’t perform that action at this time.
0 commit comments