mirror of
https://github.com/minio/minio.git
synced 2026-11-30 07:36:49 +00:00
allow disabling strict sha256 validation with some broken clients (#13383)
with some broken clients allow non-strict validation of sha256 when ContentLength > 0, it has been found in the wild some applications that need this behavior. This shall be only allowed if `--no-compat` is used.
This commit is contained in:
1 parent
0c48b1d993
commit
60f961dfe8
4 files changed
+30
-5
No files matched your search
@@ -58,9 +58,9 @@ func TestFSCleanupMultipartUploadsInRoutine(t *testing.T) {
|
||||
}, obj.SetDriveCounts())
|
||||
|
||||
defer func() {
|
||||
globalAPIConfig = apiConfig{
|
||||
listQuorum: 3,
|
||||
}
|
||||
globalAPIConfig.init(api.Config{
|
||||
ListQuorum: "optimal",
|
||||
}, obj.SetDriveCounts())
|
||||
}()
|
||||
|
||||
var cleanupWg sync.WaitGroup
|
||||
|
||||
Reference in new issue
Block a user