fix(get-object): harden GET fast path against mid-stream regressions (#2472)

This commit is contained in:
houseme
2026-04-10 21:38:29 +08:00
committed by GitHub
parent a8a2aaa460
commit b8c45fc9e3
8 changed files with 579 additions and 26 deletions
+8
View File
@@ -143,6 +143,14 @@ pub fn chunk_body_data_plane_labels(
)
}
#[must_use]
pub const fn get_object_chunk_path_label(path: GetObjectChunkPath) -> &'static str {
match path {
GetObjectChunkPath::Direct => "direct",
GetObjectChunkPath::Bridge => "bridge",
}
}
pub fn get_object_chunk_fast_path_guard(
has_sse_customer_key: bool,
has_sse_customer_key_md5: bool,