mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
close session right before the download starts - this enables parallel downloads
This commit is contained in:
@@ -100,6 +100,7 @@ if (isset($path)) {
|
||||
$file = basename($path);
|
||||
// Download the file
|
||||
if (isset($_GET['download'])) {
|
||||
\OC::$server->getSession()->close();
|
||||
if (isset($_GET['files'])) { // download selected files
|
||||
$files = urldecode($_GET['files']);
|
||||
$files_list = json_decode($files);
|
||||
|
||||
Reference in New Issue
Block a user