mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
A download whose response declares a Content-Length re-arms its attempt timeout on every chunk, so a server that trickles just above the throughput floor was never cut off by time. Parallel downloads also had no shared limit on the disk they could fill. - Each download attempt now has a deadline that incoming data never moves: 30 minutes by default, HYPERFRAMES_MAX_DOWNLOAD_MS to change it. Passing it fails the download without a local retry. - The default per-file cap drops from 20 GiB to 8 GiB (HYPERFRAMES_MAX_DOWNLOAD_BYTES still overrides it). - Downloads keep 512 MiB free on their volume (HYPERFRAMES_DOWNLOAD_MIN_FREE_BYTES, 0 turns it off). A declared size is claimed before the body is read and counted against every parallel download on the same device, and free space is measured again every 4 MiB as bytes arrive. Free space that cannot be measured does not block. - docs/packages/engine.mdx lists the download limits and their variables.