owncloud/core — pull request #6893 by McNetic (2014-01-22 12:07:11+00:00)
Title: refactored/cleaned up lib/private/files.php and switched get() to ZipStreamer

This commit mainly adds the ability for owncloud to use ZipStreamer instead of the builtin ZipArchive. This reduces disk i/o greatly, as the current implementation creates one temp file for each file to be added to the zip, and then again a temp file of the complete zip, before starting to send the temp zip to the client.
The ZipStreamer creates the zip file on the fly in memory and directly sends the data to the client, no temp file needed at all. The ZipStreamer class was added in a second pull request to 3rdparty.
(this is a replacement for pull request #3439, https://github.com/owncloud/core/pull/3439)