close session right before the download starts - this enables parallel downloads
This commit is contained in:
parent
c0e78d9841
commit
b68275baba
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue