aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-03-07 10:13:00 +0100
committerGitHub <noreply@github.com>2024-03-07 10:13:00 +0100
commitefcb16f85905360df183d02983bc9d8d11e4fbe5 (patch)
tree87f15ff63cc433001083b7a5999b44b60d5a2416 /lib
parent718c845434e7660aa11bec8214fd393cb1ec4689 (diff)
parentc54f7bd761b4ddcc09af645d9ef07d5547a37f5f (diff)
downloadnextcloud-server-efcb16f85905360df183d02983bc9d8d11e4fbe5.tar.gz
nextcloud-server-efcb16f85905360df183d02983bc9d8d11e4fbe5.zip
Merge pull request #43086 from nextcloud/s3-internal-multipart-copy-disable
disable the internal s3sdk multi part copy logic
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/S3ObjectTrait.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php
index 2ef9614ac85..623c4d08c74 100644
--- a/lib/private/Files/ObjectStore/S3ObjectTrait.php
+++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php
@@ -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));
}
}