aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-01-24 16:55:24 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-03-07 09:15:28 +0000
commit33699b29d97f79800a5d000fea95c91c902c652d (patch)
tree012742fa2b54f6a3cbd5518590d8305127b58c55 /lib
parentd046bf6e824a063d11fa46f38e5852d6ddda67ed (diff)
downloadnextcloud-server-33699b29d97f79800a5d000fea95c91c902c652d.tar.gz
nextcloud-server-33699b29d97f79800a5d000fea95c91c902c652d.zip
fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
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));
}
}