fix(backend): S3互換オブジェクトストレージでファイルのアップロードに失敗することがある問題を修正 (#15583)
* fix(backend/object-storage): disable data integrity protections (MisskeyIO#895) Cloudflare R2 does not support 'x-amz-checksum-*' * Update Changelog --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
This commit is contained in:
parent
60a3513cfc
commit
f7ea0c6991
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
### Server
|
### Server
|
||||||
- Fix: 特定のケースでActivityPubの処理がデッドロックになることがあるのを修正
|
- Fix: 特定のケースでActivityPubの処理がデッドロックになることがあるのを修正
|
||||||
|
- Fix: S3互換オブジェクトストレージでファイルのアップロードに失敗することがある問題を修正
|
||||||
|
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/895)
|
||||||
|
|
||||||
|
|
||||||
## 2025.2.1
|
## 2025.2.1
|
||||||
|
@ -46,6 +46,8 @@ export class S3Service {
|
|||||||
tls: meta.objectStorageUseSSL,
|
tls: meta.objectStorageUseSSL,
|
||||||
forcePathStyle: meta.objectStorageEndpoint ? meta.objectStorageS3ForcePathStyle : false, // AWS with endPoint omitted
|
forcePathStyle: meta.objectStorageEndpoint ? meta.objectStorageS3ForcePathStyle : false, // AWS with endPoint omitted
|
||||||
requestHandler: new NodeHttpHandler(handlerOption),
|
requestHandler: new NodeHttpHandler(handlerOption),
|
||||||
|
requestChecksumCalculation: 'WHEN_REQUIRED',
|
||||||
|
responseChecksumValidation: 'WHEN_REQUIRED',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user