mirror of
https://github.com/minio/minio.git
synced 2026-11-29 15:34:49 +00:00
Use hash.NewLimitReader for internal multipart calls (#17191)
This commit is contained in:
1 parent
203755793c
commit
e07c2ab868
9 files changed
+91
-11
No files matched your search
@@ -413,7 +413,7 @@ func (r *BatchJobReplicateV1) copyWithMultipartfromSource(ctx context.Context, a
|
||||
}
|
||||
defer rd.Close()
|
||||
|
||||
hr, err = hash.NewReader(rd, objInfo.Size, "", "", objInfo.Size)
|
||||
hr, err = hash.NewLimitReader(rd, objInfo.Size, "", "", objInfo.Size)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user