Skip to content

[go] Support presigned Blob range reads - #1588

Open
XiaoHongbo-Hope wants to merge 1 commit into
apache:mainfrom
XiaoHongbo-Hope:codex/blob-presigned-read
Open

XiaoHongbo-Hope wants to merge 1 commit into
apache:mainfrom
XiaoHongbo-Hope:codex/blob-presigned-read

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Go applications can read Blob descriptors but cannot obtain signed object requests for browser-side range reads. Add BlobReader.PresignBlob through the C ABI, translating descriptor-relative ranges to physical object ranges and retaining table credential resolution.

OSS signing reuses the existing signer, including for Jindo and OSS C++ readers. The result contains the URL, method, headers, offset and length. This is a range-fetch API, not a standalone video URL; Range does not restrict object authorization.

Validation: Rust/C build with Jindo and OSS C++ features passed. Signing tests cover all three OSS implementations without loading native libraries. The full Go integration suite passed, including ABI range translation, invalid descriptors, bounds and closed readers. Includes a short Go usage guide.

@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as ready for review December 4, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant