0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 02:14:06 -05:00
forgejo/modules/storage
wxiaoguang b73d1ac1eb
Make minio package support legacy MD5 checksum (#23768) (#23770)
Backport #23768 (no source code conflict, only some unrelated
docs/test-ini conflicts)

Some storages like:

 * https://developers.cloudflare.com/r2/api/s3/api/
 * https://www.backblaze.com/b2/docs/s3_compatible_api.html

They do not support "x-amz-checksum-algorithm" header

But minio recently uses that header with CRC32C by default. So we have
to tell minio to use legacy MD5 checksum.
2023-03-29 00:02:13 +08:00
..
helper.go Skip initing disabled storages (#21985) 2022-11-30 21:39:02 +08:00
helper_test.go Skip initing disabled storages (#21985) 2022-11-30 21:39:02 +08:00
local.go Change use of Walk to WalkDir to improve disk performance (#22462) 2023-01-16 16:21:44 +00:00
local_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
minio.go Make minio package support legacy MD5 checksum (#23768) (#23770) 2023-03-29 00:02:13 +08:00
storage.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00