Skip to content

Commit 92ac785

Browse files
committed
perf(dav): Stream PROPFIND output
Signed-off-by: Carl Schwan <carlschwan@kde.org>
1 parent 7430bf3 commit 92ac785

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
@@ -79,7 +79,12 @@ public function createServer(
7979
$useCollection = $isPublicShare && !$needsSharesInRoot;
8080
$debugEnabled = $this->config->getSystemValue('debug', false);
8181
[$tree, $rootCollection] = $this->getTree($useCollection);
82+
83+
// Set streaming of PROPFIND responses
84+
Server::$streamMultiStatus = true;
85+
8286
$server = new Server($tree);
87+
8388
// Set URL explicitly due to reverse-proxy situations
8489
$server->httpRequest->setUrl($requestUri);
8590
$server->setBaseUri($baseUri);

0 commit comments

Comments
 (0)