diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-05 13:21:42 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-05 13:21:42 +0400 |
commit | b68275babaab74b5eabc6b883cd36bca8fc56ae5 (patch) | |
tree | 03b0d65f04919579c405ba09635f94c647408787 /apps/files_sharing/public.php | |
parent | c0e78d984140ecd6a49ac615214b4a68fab0557e (diff) |
close session right before the download starts - this enables parallel downloads
Diffstat (limited to 'apps/files_sharing/public.php')
-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); |