Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.0, 1.8.1
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Http_Client, Zend_Service_Amazon
-
Labels:None
Description
Currently the full file data need to be passed to putObject(), and can cause problems with PHP's memory limit with large files.
Specifying a file name or PHP steam from which the data is gradually copied (without putting it into a PHP string) when the HTTP request is actually made would be better.
This most likely requires changes in Zend_HTTP_Client and its adapters as well. As for the Socket adapter, using stream_copy_to_stream() works perfect.
Slightly related to some elements of the comments on ZF-3758
Issue Links
| This issue depends on: | ||||
| ZF-6736 | Allow writing the response body into a stream |
|
|
|
I am not familiar with S3 APi, but does this not work with the cURL adapter?