Skip to content

Retry HLS authorization and support private callback routing - #26

Merged
davidvanleeuwen merged 1 commit into
mainfrom
fix/private-hls-callback
Oct 22, 2026
Merged

davidvanleeuwen merged 1 commit into
mainfrom
fix/private-hls-callback

Conversation

@davidvanleeuwen

@davidvanleeuwen davidvanleeuwen commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

HLS packaging currently fails immediately when the upload-authorization callback returns a transient error, and reports it as an object-upload failure. Retry network/read failures and HTTP 429/502/503/504 with bounded backoff and per-attempt deadlines; preserve safe callback diagnostics in the stream.

Add an optional operator-configured private callback TCP destination. The HTTPS URL still supplies TLS and HTTP identity, every resolved destination must be private, redirects are refused, and there is no public fallback. Object-storage and media-source transports are unchanged.

Validation: full encoder Go tests passed. Regression coverage includes transient recovery with identical scoped requests, terminal HTTP failures, retry exhaustion, cancellation, TLS hostname verification, and rejection of non-private destinations. Full Go race tests and go vet ./... also passed.

@davidvanleeuwen
davidvanleeuwen merged commit 77791c6 into main Oct 22, 2026
6 checks passed
@davidvanleeuwen
davidvanleeuwen deleted the fix/private-hls-callback branch October 22, 2026 19:53
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