mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
multipart support etag and pre-read small objects (#20423)
This commit is contained in:
@@ -711,6 +711,8 @@ func (er erasureObjects) PutObjectPart(ctx context.Context, bucket, object, uplo
|
||||
switch {
|
||||
case compressed:
|
||||
// ... nothing changes for compressed stream.
|
||||
// if actualSize is -1 we have no known way to
|
||||
// determine what is the actualSize.
|
||||
case encrypted:
|
||||
decSize, err := sio.DecryptedSize(uint64(n))
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user