From: Robin Appelman Date: Wed, 24 Jan 2024 15:55:24 +0000 (+0100) Subject: fix: disable the internal s3sdk multi part copy logic X-Git-Tag: v27.1.9rc1~2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F44052%2Fhead;p=nextcloud-server.git fix: disable the internal s3sdk multi part copy logic Signed-off-by: Robin Appelman --- 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)); } }