mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
avoid sendFile() for ranges or object lengths < 4MiB (#20141)
This commit is contained in:
@@ -2067,7 +2067,6 @@ func (s *xlStorage) ReadFileStream(ctx context.Context, volume, path string, off
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user