diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-05 11:21:42 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-05 11:21:42 +0200 |
commit | b68275babaab74b5eabc6b883cd36bca8fc56ae5 (patch) | |
tree | 03b0d65f04919579c405ba09635f94c647408787 /apps/files_sharing | |
parent | c0e78d984140ecd6a49ac615214b4a68fab0557e (diff) | |
download | nextcloud-server-b68275babaab74b5eabc6b883cd36bca8fc56ae5.tar.gz nextcloud-server-b68275babaab74b5eabc6b883cd36bca8fc56ae5.zip |
close session right before the download starts - this enables parallel downloads
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index ec7c80f3316..e64a1f7b127 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -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); |