Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around file size issues at 32 Bit systems
Replace stream_copy_to_stream with a chunked process, to handle file sizes hat do not fit into an integer. Implementation according to http://php.net/manual/en/function.stream-copy-to-stream.php#98119, proposed and implemented by https://github.com/rikmeijer in nextcloud/server#1707 (comment).
- Loading branch information