Merge pull request #21406 from nextcloud/fix/aws-disable-csm
Disable Client-Side Monitoring on AWS storage
This commit is contained in:
commit
6328053105
|
@ -99,7 +99,8 @@ trait S3ConnectionTrait {
|
||||||
'endpoint' => $base_url,
|
'endpoint' => $base_url,
|
||||||
'region' => $this->params['region'],
|
'region' => $this->params['region'],
|
||||||
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
|
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
|
||||||
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())
|
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
|
||||||
|
'csm' => false,
|
||||||
];
|
];
|
||||||
if (isset($this->params['proxy'])) {
|
if (isset($this->params['proxy'])) {
|
||||||
$options['request.options'] = ['proxy' => $this->params['proxy']];
|
$options['request.options'] = ['proxy' => $this->params['proxy']];
|
||||||
|
|
Loading…
Reference in New Issue