mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
Remove checksums from HTTP range request, add part checksums (#17105)
This commit is contained in:
1 parent
6e27264c6b
commit
7fad0c8b41
7 files changed
+57
-17
No files matched your search
@@ -1086,7 +1086,7 @@ func (er erasureObjects) putObject(ctx context.Context, bucket string, object st
|
||||
}
|
||||
|
||||
fi.DataDir = mustGetUUID()
|
||||
fi.Checksum = opts.WantChecksum.AppendTo(nil, 0)
|
||||
fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
|
||||
if opts.EncryptFn != nil {
|
||||
fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user