Skip to content

Commit 6328053

Browse files
Merge pull request #21406 from nextcloud/fix/aws-disable-csm
Disable Client-Side Monitoring on AWS storage
2 parents c1183fa + 9d39289 commit 6328053

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/private/Files/ObjectStore/S3ConnectionTrait.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trait S3ConnectionTrait {
4747

4848
/** @var int */
4949
protected $timeout;
50-
50+
5151
/** @var int */
5252
protected $uploadPartSize;
5353

@@ -99,7 +99,8 @@ public function getConnection() {
9999
'endpoint' => $base_url,
100100
'region' => $this->params['region'],
101101
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
102-
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())
102+
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
103+
'csm' => false,
103104
];
104105
if (isset($this->params['proxy'])) {
105106
$options['request.options'] = ['proxy' => $this->params['proxy']];

0 commit comments

Comments
 (0)