diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php index 7a1b6191014bf..cb0f1e7bfc6a9 100644 --- a/apps/dav/lib/Connector/Sabre/ServerFactory.php +++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php @@ -79,7 +79,12 @@ public function createServer( $useCollection = $isPublicShare && !$needsSharesInRoot; $debugEnabled = $this->config->getSystemValue('debug', false); [$tree, $rootCollection] = $this->getTree($useCollection); + + // Set streaming of PROPFIND responses + Server::$streamMultiStatus = true; + $server = new Server($tree); + // Set URL explicitly due to reverse-proxy situations $server->httpRequest->setUrl($requestUri); $server->setBaseUri($baseUri);