]> git.p6c8.net - jirafeau_project.git/commit
Add support for the X-Sendfile header/module to offload downloads.
authorHunter Fuller <hfuller@pixilic.com>
Thu, 17 Mar 2022 04:17:42 +0000 (23:17 -0500)
committerJérôme Jutteau <jerome@jutteau.fr>
Sat, 30 Apr 2022 19:25:40 +0000 (19:25 +0000)
commitd00ef4f1b8e503e29e10967f921c247a08670f61
treec4f13b55037b7c48158e92f3953697c8d0d05dfc
parent5058cbd048a108666d4078c692cb12ce96e521db
Add support for the X-Sendfile header/module to offload downloads.

With the appropriate config option enabled, Jirafeau will send the
X-Sendfile header instead of sending the file itself. As a result,
Apache/lighttpd will send the file without the intervention of Jirafeau,
and download resumes/seeking will also be enabled for this download.

If the user requested an encrypted file then this will not work, but it
should work in all other cases.
f.php
lib/config.original.php

patrick-canterino.de