[Pkg-owncloud-commits] [owncloud] 79/134: don't block php session while download is in progress

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:44:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 24274acd6a236152d97e2b74346efd4b5bedd037
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 6b055e9..ee02062 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