Skip to content

Commit aa0fde2

Browse files
CarlSchwanbackportbot[bot]
authored andcommitted
perf(dav): Stream PROPFIND output
Signed-off-by: Carl Schwan <carlschwan@kde.org>
1 parent b4e1ac7 commit aa0fde2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/dav/lib/Connector/Sabre/ServerFactory.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ public function createServer(
7878
$useCollection = $isPublicShare && !$needsSharesInRoot;
7979
$debugEnabled = $this->config->getSystemValue('debug', false);
8080
[$tree, $rootCollection] = $this->getTree($useCollection);
81+
82+
// Set streaming of PROPFIND responses
83+
Server::$streamMultiStatus = true;
84+
8185
$server = new Server($tree);
86+
8287
// Set URL explicitly due to reverse-proxy situations
8388
$server->httpRequest->setUrl($requestUri);
8489
$server->setBaseUri($baseUri);

0 commit comments

Comments
 (0)