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
..
2018-10-13 14:16:33 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2016-12-27 21:52:05 +01:00
2018-10-15 04:32:30 +02:00
2016-12-01 14:52:18 +01:00
2018-02-22 08:11:30 +01:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2017-01-13 06:45:04 +00:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-02-20 21:53:48 +01:00
2019-05-02 15:11:42 +02:00
2016-10-14 01:44:16 +02:00
2019-01-18 12:04:25 +01:00
2019-03-15 18:11:51 +00:00
2019-12-09 10:30:00 +01:00
2019-07-18 14:40:47 +02:00
2019-11-05 12:13:46 +01:00
2019-06-06 15:00:35 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-02-22 08:11:30 +01:00
2018-10-14 19:45:12 +02:00
2019-02-07 22:22:38 -08:00
2019-05-22 12:01:23 +02:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-02-20 21:53:48 +01:00
2018-02-20 21:53:48 +01:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-03 19:43:59 -04:00
2018-10-03 19:43:59 -04:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2019-12-09 10:30:00 +01:00
2018-10-15 04:32:30 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-15 04:32:30 +02:00
2019-12-09 10:30:00 +01:00
2018-02-14 11:10:59 +01:00
2018-10-14 19:44:14 +02:00
2017-09-06 10:00:18 +01:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2017-01-06 08:06:38 +00:00
2018-10-14 19:44:14 +02:00
2018-10-14 19:45:12 +02:00
2018-02-20 21:53:48 +01:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2018-10-14 19:45:12 +02:00
2018-02-04 23:09:40 +01:00
2018-10-15 04:32:30 +02:00
2018-02-20 21:53:48 +01:00
2018-02-20 21:53:48 +01:00
2016-11-20 22:31:24 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 12:55:24 +02:00