fix: content-range (#216)

This commit is contained in:
weisd
2025-07-15 17:23:33 +08:00
committed by GitHub
parent a9d77a618f
commit 4c1fc9317e
5 changed files with 30 additions and 14 deletions
-5
View File
@@ -1611,11 +1611,6 @@ impl DiskAPI for LocalDisk {
#[tracing::instrument(level = "debug", skip(self))]
async fn read_file_stream(&self, volume: &str, path: &str, offset: usize, length: usize) -> Result<FileReader> {
// warn!(
// "disk read_file_stream: volume: {}, path: {}, offset: {}, length: {}",
// volume, path, offset, length
// );
let volume_dir = self.get_bucket_path(volume)?;
if !skip_access_checks(volume) {
access(&volume_dir)