]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: disable the internal s3sdk multi part copy logic 44052/head
authorRobin Appelman <robin@icewind.nl>
Wed, 24 Jan 2024 15:55:24 +0000 (16:55 +0100)
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Thu, 18 Apr 2024 09:41:10 +0000 (11:41 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/Files/ObjectStore/S3ObjectTrait.php

index 2ef9614ac85c372ee159ef7a895fd5c49599b040..623c4d08c74aa58a55e7a8a59ce427d82ea5ace0 100644 (file)
@@ -212,7 +212,8 @@ trait S3ObjectTrait {
                        $copy->copy();
                } else {
                        $this->getConnection()->copy($this->getBucket(), $from, $this->getBucket(), $to, 'private', array_merge([
-                               'params' => $this->getSSECParameters() + $this->getSSECParameters(true)
+                               'params' => $this->getSSECParameters() + $this->getSSECParameters(true),
+                               'mup_threshold' => PHP_INT_MAX,
                        ], $options));
                }
        }