Skip to content
Snippets Groups Projects
Commit b68275ba authored by Thomas Müller's avatar Thomas Müller
Browse files

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

parent c0e78d98
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment