diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-29 10:21:07 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-09 10:30:00 +0100 |
commit | 17a9f1401aeb35fe1e3657b38102a410d151d42f (patch) | |
tree | 6072761475ccb857be4c6b535101934eb94536c4 /ext/reflection/php_reflection.c | |
parent | e1202733a50eada07c1b0b934f626aaf2d3179dc (diff) | |
download | php-git-17a9f1401aeb35fe1e3657b38102a410d151d42f.tar.gz |
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)
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions