#
ba0f9fb5 |
| 21-Feb-2024 |
Ayesh Karunaratne |
ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439) The `phpinfo()` section of the Curl extension lists individual features supported by the particular ext-Curl + libcu
ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439) The `phpinfo()` section of the Curl extension lists individual features supported by the particular ext-Curl + libcurl build. However, the `curl_version()` function return values do not indicate the same level of details. `curl_version()` has a `protocols` key that returns an array of all protocols supported by the build. But the `features` key is a bitmask of all the features. Checking the availability of certain feature requires knowing the corresponding `CURL_VERSION` constant, and checking the availability of the constant and a bitmask check for it in the `features` value. For example, to determine HTTP2 support, it requires evaluating: ```php defined('CURL_VERSION_HTTP2') && (curl_version()['features'] & CURL_VERSION_HTTP2 === CURL_VERSION_HTTP2) ``` To make feature availability checks more intuitive, this adds a new `feature_list` key to `curl_version()` output array. With it, checking for individual features availability is easier, and does not require inspecting the availability of the `CURL_VERSION` constant and the `features` key. ```php !empty(curl_version()['feature_list']['HTTP2']); ```
show more ...
|
#
edb9f65f |
| 31-Jan-2024 |
Ayesh Karunaratne |
ext/curl: Bump minimum Curl version to >= 7.61.0 (#13259) Bumps the minimum required libcurl version to 7.61.0. Please also see #4917, which bumped minimum libcurl version to the cu
ext/curl: Bump minimum Curl version to >= 7.61.0 (#13259) Bumps the minimum required libcurl version to 7.61.0. Please also see #4917, which bumped minimum libcurl version to the current >= 7.29.0. This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept). Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs. - Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev) - Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev) - CentOS/RHEL 7: 7.29 - RHEL 8/Rocky 8/EL 8: 7.61 - Fedora 38: 7.87 RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely bump the minimum libcurl version. 7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is a current and supported RHEL version.
show more ...
|
#
de60872c |
| 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Add new curl constants from curl until (including) 7.87 (#10459) Fixes GH-10454
|
#
a8a3b99e |
| 12-Jun-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11433: Unable to set CURLOPT_ACCEPT_ENCODING to NULL Closes GH-11446.
|
#
d5ad7510 |
| 08-Jun-2023 |
George Peter Banyard |
More usage of known zend_str instead of C string (#11381)
|
#
ad997987 |
| 11-Apr-2023 |
George Peter Banyard |
ext/curl: Protocol should be a case insensitive check (#11052) Minor drive-by refactoring to use the new API
|
#
2646d76a |
| 10-Feb-2023 |
Max Kellermann |
ext/curl: suppress -Wdeprecated-declarations in curl_arginfo.h Disable the warning before including curl_arginfo.h. (Follow-up for https://github.com/php/php-src/pull/10531)
|
#
91db3a1b |
| 17-Feb-2023 |
Pierrick Charron |
Fixed bug GH-10270 Unable to return CURL_READFUNC_PAUSE in readfunc callback Closes GH-10607 Signed-off-by: George Peter Banyard <girgias@php.net>
|
#
263b22f3 |
| 21-Feb-2023 |
Max Kellermann |
Make lots of string pointers `const` (#10646) This allows using string literals without implicitly casting away the `const`.
|
#
ed4dc39e |
| 21-Feb-2023 |
Max Kellermann |
ext/curl/interface: fix zend_result return value Closes GH-10640 Signed-off-by: George Peter Banyard <girgias@php.net>
|
#
8c8a38a7 |
| 07-Feb-2023 |
Max Kellermann |
ext/curl: suppress -Wdeprecated-declarations Closes GH-10531.
|
#
a01dd9fe |
| 14-Sep-2022 |
Bob Weinand |
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included i
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23 |
|
#
94ee4f98 |
| 24-Aug-2022 |
Bob Weinand |
Port all internally used classes to use default_object_handlers Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
|
#
51eb1d4f |
| 21-Aug-2022 |
Máté Kocsis |
Fix curl/sync_constants.php (#9391) |
#
e6e26b44 |
| 20-Aug-2022 |
Máté Kocsis |
Declare ext/curl constants in stubs (#9384) |
Revision tags: php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3 |
|
#
3b92a966 |
| 25-Jun-2022 |
Ilija Tovilo |
Convert return type of various object handlers from int to zend_result (#8755) |
Revision tags: php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
b08076ef |
| 17-Jun-2022 |
Pierrick Charron |
Merge branch 'PHP-8.1' * PHP-8.1: Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.
|
#
bb010adf |
| 17-Jun-2022 |
Pierrick Charron |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
d84b9726 |
| 17-Jun-2022 |
Pierrick Charron |
Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. |
#
b9af4335 |
| 08-Jun-2022 |
Pierrick Charron |
Add new curl_upkeep() function |
Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30 |
|
#
cec20f61 |
| 05-Jun-2022 |
Pierrick Charron |
Expose new constants from libcurl 7.62 to 7.80 |
Revision tags: php-8.1.7RC1, php-8.0.20RC1 |
|
#
10921525 |
| 15-May-2022 |
David Carlier |
Add CURLOPT_MAXFILESIZE_LARGE option Like other *LARGE options, it takes a 64 bit value. Closes GH-8557. |
Revision tags: php-8.1.6, php-8.0.19 |
|
#
fb3cba49 |
| 29-Apr-2022 |
Derick Rethans |
Fix multi-same-name-fields in Curl for old (> 7.56.0) versions |
Revision tags: php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1 |
|
#
7a45dcfe |
| 24-Dec-2021 |
David Carlier |
Introduce CURLOPT_XFERINFOFUNCTION `CURLOPT_XFERINFOFUNCTION` is available as of cURL 7.32.0, and supersedes `CURLOPT_PROGRESSFUNCTION` which is still supported by latest cURL, thoug
Introduce CURLOPT_XFERINFOFUNCTION `CURLOPT_XFERINFOFUNCTION` is available as of cURL 7.32.0, and supersedes `CURLOPT_PROGRESSFUNCTION` which is still supported by latest cURL, though. Closes GH-7823.
show more ...
|
#
8093ed61 |
| 01-Apr-2022 |
Derick Rethans |
Implemented FR #51634: Can't post multiple fields with the same name This PR allows for multiple values with the same field name to be sent to an HTTP server. This server can't be PHP, b
Implemented FR #51634: Can't post multiple fields with the same name This PR allows for multiple values with the same field name to be sent to an HTTP server. This server can't be PHP, because PHP's POST processing does not allow for two the same field names. But sending multiple fields with the same name is required for some operations by RFC 7578. This PR allows you to attach an array of values to a field name, and each of these will then be sent as its own distinct multipart/form-data field.
show more ...
|