zotonic/zotonic — pull request #342 by hce (2012-06-05 19:42:59+00:00)
Title: Make use resource_file_readonly use sendfile when available

This also fixes the Issue #319 on systems where sendfile is available in erlang (No matter if sendfile is supported by the underlying OS). The issue will continue to exist on erlang systems that do not have the file:sendfile function available.

Requires the webzmachine sendfile patch to work.