php-src/ext/curl
Christoph M. Becker 17a9f1401a 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 c68dc6b5e3)
2019-12-09 10:30:00 +01:00
..
tests Extend CURLFile to support streams 2019-12-09 10:30:00 +01:00
config.m4 Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
config.w32 Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
CREDITS
curl_file.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
interface.c Extend CURLFile to support streams 2019-12-09 10:30:00 +01:00
multi.c Merge branch 'PHP-7.2' into PHP-7.3 2019-07-18 14:41:35 +02:00
php_curl.h Extend CURLFile to support streams 2019-12-09 10:30:00 +01:00
share.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
sync-constants.php Add more missing CURL_VERSION_* constants 2019-05-02 15:11:42 +02:00