From eecd52628d255daf0e7859f8935f7e4a0449cd22 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 24 Jan 2024 16:55:24 +0100 Subject: [PATCH] fix: disable the internal s3sdk multi part copy logic Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/S3ObjectTrait.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } } -- 2.39.5