evert/SabreDAV — pull request #331 by PHPGangsta (2013-04-24 16:26:14+00:00)
Title: Flush and disable the output buffer if enabled

In case the output buffer is active (many php installations come with "output_buffering = 4096" in php.ini), it should be flushed and deactivated before sending big files through fpassthru(), otherwise you get memory-limit-errors when downloading big files.
Related Pull Request in OwnCloud: https://github.com/owncloud/core/pull/576