Expand description
Download worker for HTTP streaming with progress tracking and retry logic
Structs§
- Download
Result - Result of a successful download
- Download
Worker - Download worker that handles individual download tasks
Enums§
- Download
Error - Download error types
Constants§
- CONNECT_
TIMEOUT 🔒 - How long to wait for the TCP/TLS handshake before giving up.
- STALL_
TIMEOUT 🔒 - How long a transfer may go without receiving a single byte before it is treated as dead and retried. Generous because a transcode download waits on ffmpeg, which pauses when Jellyfin throttles it.
Functions§
- partial_
path - The partial-download sidecar for
target. - rejects_
as_ empty - Why a finished transfer must not be accepted, if it must not be.
- resume_
offset - Where to resume writing a partial download, given how the server answered.