diff options
author | Robin Appelman <robin@icewind.nl> | 2024-01-24 16:55:24 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-03-06 15:32:14 +0100 |
commit | c54f7bd761b4ddcc09af645d9ef07d5547a37f5f (patch) | |
tree | e89dafeaf7f317de698d84c14644602dfd8112ea /lib/private/Files/ObjectStore | |
parent | c651e06a6d1296cbca03a706d9cded707e70af74 (diff) | |
download | nextcloud-server-c54f7bd761b4ddcc09af645d9ef07d5547a37f5f.tar.gz nextcloud-server-c54f7bd761b4ddcc09af645d9ef07d5547a37f5f.zip |
fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/ObjectStore')
-rw-r--r-- | lib/private/Files/ObjectStore/S3ObjectTrait.php | 3 |
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)); } } |