[Pkg-owncloud-commits] [owncloud] 27/55: don't block php session while download is in progress
David Prévot
taffit at moszumanska.debian.org
Wed Apr 23 19:51:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.16RC1
in repository owncloud.
commit ae9efcf931651894d604cb201a9bbe3b62b9b0db
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Wed Mar 26 17:24:11 2014 +0100
don't block php session while download is in progress
---
apps/files/download.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/apps/files/download.php b/apps/files/download.php
index e3fe24e..cbf6ab1 100644
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -24,6 +24,9 @@
// Check if we are a user
OCP\User::checkLoggedIn();
+// don't block php session during download
+session_write_close();
+
$filename = $_GET["file"];
if(!\OC\Files\Filesystem::file_exists($filename)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list