summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-05 14:54:44 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-05 14:54:44 +0200
commitc83c90342e6dc7b01c2d1e973f89db4cf2c2dc61 (patch)
tree2ae69793db0d9734590f3a6e1431feb4ca32244f
parent7fd770654246e5ca481df65b9f00ef448ac280f0 (diff)
parentb68275babaab74b5eabc6b883cd36bca8fc56ae5 (diff)
downloadnextcloud-server-c83c90342e6dc7b01c2d1e973f89db4cf2c2dc61.tar.gz
nextcloud-server-c83c90342e6dc7b01c2d1e973f89db4cf2c2dc61.zip
Merge pull request #10168 from owncloud/parallel-download-on-public-shared-folder-master
close session right before the download starts - this enables parallel d...
-rw-r--r--apps/files_sharing/public.php1
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);