diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2017-07-31 22:46:19 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-15 14:46:36 +0100 |
commit | 8c5d656f3b605a8cedbf412b7498b936e12866e6 (patch) | |
tree | f6d87ef4c5d7240ec03107856428e5c452be1a82 /apps/dav/lib/Server.php | |
parent | b19b1379699cf7790a13575f27a05b2f6db14f6a (diff) | |
download | nextcloud-server-8c5d656f3b605a8cedbf412b7498b936e12866e6.tar.gz nextcloud-server-8c5d656f3b605a8cedbf412b7498b936e12866e6.zip |
Handle OC-Total-Length in new chunking
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 4e8a9fd0a51..dfa19467e5e 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -55,6 +55,7 @@ use OCA\DAV\DAV\CustomPropertiesBackend; use OCA\DAV\Connector\Sabre\QuotaPlugin; use OCA\DAV\Files\BrowserErrorPagePlugin; use OCA\DAV\SystemTag\SystemTagPlugin; +use OCA\DAV\Upload\ChunkingPlugin; use OCP\IRequest; use OCP\SabrePluginEvent; use Sabre\CardDAV\VCFExportPlugin; @@ -171,6 +172,7 @@ class Server { )); $this->server->addPlugin(new CopyEtagHeaderPlugin()); + $this->server->addPlugin(new ChunkingPlugin()); // allow setup of additional plugins $dispatcher->dispatch('OCA\DAV\Connector\Sabre::addPlugin', $event); |