mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 09:18:28 +00:00
refactor: route remaining external storage boundaries (#3889)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
//! Segments are discovered at download time using lexicographic ordering
|
||||
//! based on a container metadata manifest pointer.
|
||||
|
||||
use super::storage_api::HTTPRangeSpec;
|
||||
use super::{SwiftError, container, object};
|
||||
use axum::http::{HeaderMap, Response, StatusCode};
|
||||
use rustfs_credentials::Credentials;
|
||||
@@ -300,7 +301,7 @@ async fn create_dlo_stream(
|
||||
|
||||
async move {
|
||||
let range_spec = if byte_start > 0 || byte_end < segment.size as u64 - 1 {
|
||||
Some(rustfs_storage_api::HTTPRangeSpec {
|
||||
Some(HTTPRangeSpec {
|
||||
is_suffix_length: false,
|
||||
start: byte_start as i64,
|
||||
end: byte_end as i64,
|
||||
|
||||
Reference in New Issue
Block a user