🧱 Chunk is a download manager for slow and unstable servers

Timeout retries are unbounded; a stalled server loops forever #21

Open cuducos.me
Open opened by cuducos.me

Problem

Timeouts deliberately never count toward MaxRetries (downloader.go:282-289), so a server that stalls forever is retried indefinitely — until the caller's context dies, and the CLI never cancels its context.

Impact

The CLI can loop forever against a half-dead server, with no cap.

Suggested fix

Document the behavior explicitly, or add a consecutive-timeout cap that surfaces an error to the user.

Sign up or Sign in to add to the discussion.