The download itself: splitting, resuming, verifying, limiting, proxying.
- HTTP/1.1 and HTTPS, follows 301 / 302 / 307 redirects, with a configurable hop limit
- Probes the server first: range support, length, ETag, Last-Modified, Content-MD5
- Segmented download, 1 to 32 connections, 8 by default
- Dynamic halving: a free connection cuts into the largest remaining segment
- A segment can change hands without reopening the connection
- Slow connections are spotted every 3 seconds and their work is reassigned
- Resume after pause, after a restart, after a power cut
- Progress and checksums go to a journal every 3 seconds, flushed on exit
- Preallocated by length; each connection writes its own offset, so no merge at the end
- Optional per-segment temp files, glued at the end, for spinning disks
- Integrity check via Content-MD5, ETag, or a SHA-256 you supply
- Retries with exponential backoff; 429 and 503 get extra delay
- Proxies: HTTP, SOCKS5 and PAC, set globally, per task or per site
- Speed limits globally or per task, switching by time of day
- BitTorrent and magnets: torrent files, DHT, seeding, upload limits
- Multi-source: pull one file from several mirrors at onceIn development
- Later in 1.x. It has to hit 8 MB/s from two mirrors capped at 5 MB/s each; the scheduler splits one file, so cross-source allocation comes first.