Download: remove limits on maximum execution time

This commit is contained in:
Aaron van Geffen 2024-01-15 11:46:01 +01:00
parent 4b289a5e83
commit bb81f7e086

View File

@ -79,6 +79,9 @@ class Download
// STDOUT should not block. // STDOUT should not block.
stream_set_blocking($pipes[1], 0); stream_set_blocking($pipes[1], 0);
// Allow this the download to take its time...
set_time_limit(0);
header('Pragma: no-cache'); header('Pragma: no-cache');
header('Content-Description: File Download'); header('Content-Description: File Download');
header('Content-disposition: attachment; filename="' . $album->tag . '.tar"'); header('Content-disposition: attachment; filename="' . $album->tag . '.tar"');