Skip to content

Commit ab98b47

Browse files
Merge pull request #62225 from nextcloud/backport/62164/stable33
[stable33] perf(dav): Stream PROPFIND output
2 parents 599007d + ab34c4c commit ab98b47

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)