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);
|
$file = basename($path);
|
||||||
// Download the file
|
// Download the file
|
||||||
if (isset($_GET['download'])) {
|
if (isset($_GET['download'])) {
|
||||||
|
\OC::$server->getSession()->close();
|
||||||
if (isset($_GET['files'])) { // download selected files
|
if (isset($_GET['files'])) { // download selected files
|
||||||
$files = urldecode($_GET['files']);
|
$files = urldecode($_GET['files']);
|
||||||
$files_list = json_decode($files);
|
$files_list = json_decode($files);
|
||||||
|
|
Loading…
Reference in New Issue