Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-15 18:08:55 +0300
committerLukas Reschke <lukas@owncloud.com>2016-03-15 18:08:55 +0300
commit718385450986c3156edab4f98bf256ebeab03164 (patch)
treedd2dd0ccc629e1d267f384e88251e1dd27a2695e /apps/dav/appinfo/v1/publicwebdav.php
parentad9a0804f3a40123ce931f6f7f365758fe8a0933 (diff)
Close session for publicwebdav
We need to close the session otherwise streaming will lead to a blocked ownCloud.
Diffstat (limited to 'apps/dav/appinfo/v1/publicwebdav.php')
-rw-r--r--apps/dav/appinfo/v1/publicwebdav.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php
index b0ee264aac3..79420e00390 100644
--- a/apps/dav/appinfo/v1/publicwebdav.php
+++ b/apps/dav/appinfo/v1/publicwebdav.php
@@ -30,6 +30,7 @@ $RUNTIME_APPTYPES = ['filesystem', 'authentication', 'logging'];
OC_App::loadApps($RUNTIME_APPTYPES);
OC_Util::obEnd();
+\OC::$server->getSession()->close();
// Backends
$authBackend = new OCA\DAV\Connector\PublicAuth(\OC::$server->getConfig());