ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix getting s3 objects with some s3 providers
Chocobozzz1fe60b94063e
diff --git a/server/core/lib/object-storage/shared/client.ts b/server/core/lib/object-storage/shared/client.tsindex 22a6fa9835..9e37ba10bc 100644--- a/server/core/lib/object-storage/shared/client.ts+++ b/server/core/lib/object-storage/shared/client.ts@@ -48,7 +48,8 @@ function getClient () {requestHandler: await getProxyRequestHandler(),maxAttempts: CONFIG.OBJECT_STORAGE.MAX_REQUEST_ATTEMPTS,// Default behaviour has incompatibilities with some S3 providers: https://github.com/aws/aws-sdk-js-v3/issues/6810- requestChecksumCalculation: 'WHEN_REQUIRED'+ requestChecksumCalculation: 'WHEN_REQUIRED',+ responseChecksumValidation: 'WHEN_REQUIRED'})logger.info('Initialized S3 client %s with region %s.', getEndpoint(), OBJECT_STORAGE.REGION, lTags())