#
8f185d35 |
| 08-Jan-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Extract function
|
#
a6d385a8 |
| 08-Jan-2020 |
Christoph M. Becker |
Extract function As suggested by Nikita[1]. [1] <https://github.com/php/php-src/pull/5045#discussion_r364265013> |
Revision tags: php-7.3.14RC1, php-7.4.2RC1 |
|
#
06e78cad |
| 06-Jan-2020 |
Christoph M. Becker |
Revert "Extend CURLFile to support streams" This reverts commit 17a9f1401aeb35fe1e3657b38102a410d151d42f, because this commit would break ABI, and also due to bug #79013. We keep the
Revert "Extend CURLFile to support streams" This reverts commit 17a9f1401aeb35fe1e3657b38102a410d151d42f, because this commit would break ABI, and also due to bug #79013. We keep the commit for PHP 7.4+, though.
show more ...
|
#
0b4da7e6 |
| 06-Jan-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' * PHP-7.4: Don't link against openssl 1.1 in curl
|
#
68f6ab71 |
| 06-Jan-2020 |
Nikita Popov |
Don't link against openssl 1.1 in curl OpenSSL 1.1 does not need crypto locking callbacks, so avoid detecting and linking against it in the first place. |
#
730f4f25 |
| 06-Jan-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' * PHP-7.4: Fix bug #79063: Curl openssl does not respect PKG_CONFIG_PATH Clean up curl openssl check
|
#
2d29904f |
| 06-Jan-2020 |
Nikita Popov |
Clean up curl openssl check Only set HAVE_CURL_OPENSSL flag, and remove Windows specific code, as all of this is only relevant for OpenSSL < 1.1, which is not used on Windows. |
#
bbcfa66e |
| 03-Jan-2020 |
Máté Kocsis |
Use RETURN_THROWS() after zend_fetch_resource*() |
#
86675dd3 |
| 28-Dec-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.4' * PHP-7.4: Fix #79033: Curl timeout error with specific url and post
|
#
6d1dff6f |
| 28-Dec-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #79033: Curl timeout error with specific url and post
|
#
c47b18a2 |
| 28-Dec-2019 |
Christoph M. Becker |
Fix #79033: Curl timeout error with specific url and post We must not set an empty mime structure as `CURLOPT_MIMEPOST`; instead we set it to `NULL` if `CURLOPT_POSTFIELDS` has been set
Fix #79033: Curl timeout error with specific url and post We must not set an empty mime structure as `CURLOPT_MIMEPOST`; instead we set it to `NULL` if `CURLOPT_POSTFIELDS` has been set to an empty array.
show more ...
|
Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5 |
|
#
17a9f140 |
| 29-Apr-2019 |
Christoph M. Becker |
Extend CURLFile to support streams Due to former restrictions of the libcurl API, curl multipart/formdata file uploads supported only proper files. However, as of curl 7.56.0 the ne
Extend CURLFile to support streams Due to former restrictions of the libcurl API, curl multipart/formdata file uploads supported only proper files. However, as of curl 7.56.0 the new `curl_mime_*()` API is available (and already supported by PHP[1]), which allows us to support arbitrary *seekable* streams, which is generally desirable, and particularly resolves issues with the transparent Unicode and long part support on Windows (see bug #77711). Note that older curl versions are still supported, but CURLFile is still restricted to proper files in this case. [1] <http://git.php.net/?p=php-src.git;a=commit;h=a83b68ba56714bfa06737a61af795460caa4a105> (cherry picked from commit c68dc6b5e37e74d89e0a387079139c054c8faa81)
show more ...
|
Revision tags: php-7.2.18RC1, php-7.3.5RC1 |
|
#
e1202733 |
| 15-Apr-2019 |
Christoph M. Becker |
Use curl_mime_*() functions if available As of curl 7.56.0, `curl_formadd()` is deprecated in favor of `curl_mime_*()`, so we use the latter if available. (cherry picked from co
Use curl_mime_*() functions if available As of curl 7.56.0, `curl_formadd()` is deprecated in favor of `curl_mime_*()`, so we use the latter if available. (cherry picked from commit a83b68ba56714bfa06737a61af795460caa4a105)
show more ...
|
#
5d6e923d |
| 24-Sep-2019 |
Gabriel Caruso |
Remove mention of PHP major version in Copyright headers Closes GH-4732. |
#
4867864c |
| 18-Aug-2019 |
Simon Podlipsky |
Add Curl ext PHP stubs Closes GH-4557. |
#
429378d7 |
| 12-Aug-2019 |
Nikita Popov |
Remove some misleading RETURN_FALSE These functions throw, so they can't return false. This is just a subset... |
#
d59aac58 |
| 18-Jul-2019 |
Nikita Popov |
Report errors from stream read and write operations The php_stream_read() and php_stream_write() functions now return an ssize_t value, with negative results indicating failure. Function
Report errors from stream read and write operations The php_stream_read() and php_stream_write() functions now return an ssize_t value, with negative results indicating failure. Functions like fread() and fwrite() will return false in that case. As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams should not be regarded as error conditions, and be reported as successful zero-length reads/writes instead. The handling of EINTR remains unclear and is internally inconsistent (e.g. some code-paths will automatically retry on EINTR, while some won't). I'm landing this now to make sure the stream wrapper ops API changes make it into 7.4 -- however, if the user-facing changes turn out to be problematic we have the option of clamping negative returns to zero in php_stream_read() and php_stream_write() to restore the old behavior in a relatively non-intrusive manner.
show more ...
|
#
be7f405f |
| 18-Jul-2019 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4
|
#
4a9f78f9 |
| 18-Jul-2019 |
Nikita Popov |
Merge branch 'PHP-7.2' into PHP-7.3
|
#
c8c183eb |
| 17-Jul-2019 |
Abyr Valg |
Fixed bug #77946 Save multi_info_read() result into easy handle. |
#
8757f30c |
| 25-Jun-2019 |
Nikita Popov |
Fix CURLINFO_COOKIELIST leak |
#
bc8fece0 |
| 12-Jun-2019 |
Nikita Popov |
Don't warn if libcurl SSL library not detected libcurl may link against 7 different ssl libraries, all of which are thread-safe -- apart from openssl, of course. We check for openssl
Don't warn if libcurl SSL library not detected libcurl may link against 7 different ssl libraries, all of which are thread-safe -- apart from openssl, of course. We check for openssl and register locking callbacks in that case, but we should not warn if any other library is used.
show more ...
|
#
5d333707 |
| 13-May-2019 |
GITSRC <34047788+gitsrc@users.noreply.github.com> |
Require semicolon after SAVE_CURL_ERROR() |
#
357da6bc |
| 13-May-2019 |
Christoph M. Becker |
Deprecate and ignore $version parameter of curl_version() `curl_version()`[1] (of ext/curl) makes `curl_version_info()`[2] (of libcurl) available to PHP userland. The latter requires to
Deprecate and ignore $version parameter of curl_version() `curl_version()`[1] (of ext/curl) makes `curl_version_info()`[2] (of libcurl) available to PHP userland. The latter requires to pass an `age` argument which usually is `CURLVERSION_NOW`, so that the information returned by the runtime matches the declarations used during compile time. For C programs it is simply necessary to pass this information, and in rare occasions it might make sense to pass something else than `CURLVERSION_NOW`. curl.h notes: | The 'CURLVERSION_NOW' is the symbolic name meant to be used by | basically all programs ever that want to get version information. For the PHP binding, using a newer `age` than available at compile time will neither provide the PHP program more information, nor would using an older `age` have tangible benefits. We therefore deprecate the useless `$version` parameter, and if it is passed nonetheless, we use `CURLVERSION_NOW` instead of the supplied value, and raise a warning. [1] <https://www.php.net/manual/en/function.curl-version.php> [2] <https://curl.haxx.se/libcurl/c/curl_version_info.html>
show more ...
|
#
2934f9da |
| 02-May-2019 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4
|