diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-15 16:08:55 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-15 16:08:55 +0100 |
commit | 718385450986c3156edab4f98bf256ebeab03164 (patch) | |
tree | dd2dd0ccc629e1d267f384e88251e1dd27a2695e /apps | |
parent | ad9a0804f3a40123ce931f6f7f365758fe8a0933 (diff) | |
download | nextcloud-server-718385450986c3156edab4f98bf256ebeab03164.tar.gz nextcloud-server-718385450986c3156edab4f98bf256ebeab03164.zip |
Close session for publicwebdav
We need to close the session otherwise streaming will lead to a blocked ownCloud.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/appinfo/v1/publicwebdav.php | 1 |
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()); |