Merge pull request #21447 from nextcloud/backport/21406/stable19
[stable19] Disable Client-Side Monitoring on AWS storage
This commit is contained in:
commit
286f79c388
|
@ -47,7 +47,7 @@ trait S3ConnectionTrait {
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
protected $timeout;
|
protected $timeout;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
protected $uploadPartSize;
|
protected $uploadPartSize;
|
||||||
|
|
||||||
|
@ -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