close session right before the download starts - this enables parallel downloads

This commit is contained in:
Thomas Müller 2014-08-05 11:21:42 +02:00
parent c0e78d9841
commit b68275baba
1 changed files with 1 additions and 0 deletions

View File

@ -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);