Making big downloads resumable in Firefox
Recorded: Oct. 12, 2026, 10 p.m.
| Original | Summarized |
Making big downloads resumable in firefox Olivia's silly blog Navigation Blog Making big downloads resumable in firefox Olivia Published on License: CC-by-SA 4.0 (text), MIT (code) firefox For whatever reason, Firefox 28 and newer (i.e. every modern version after like 2014) ships with network.http.response.timeout set to 300 seconds. This seems to interfere with resuming big downloads, as well as the general stability of big downloads.Setting network.http.response.timeout to 0 (or something very big) in about:config seems to make big downloads both resumable and at least a little more stable. I don't understand why this works, but experimental testing supports it.Note that this assumes the server supports resumable downloads; if it doesn't, no settings in firefox or any other browser are going to help. However, the problem this fixes is firefox being unable to resume a resumable download on error. I don't entirely know if this is the case, but it experimentally looks like resumable downloads in firefox rely on connection timeouts rather than the .part files they download. Firefox will happily ignore an existing .part without this option, and I do not understand why.Resumable downloads in firefox generally appear to be fairly unstable though. This has been a known problem in some form since as far back as 2005. I also found that there's a manual .part shuffle to make firefox actually resume downloads, but I'm not doing that shit. As a non-firefox workaround, using wget -c -O "$filename" "$url" also works, and wget overall appears to be fairly stable.I do also suspect firefox does some hidden retries if it can before it considers the download to have failed - from some experimental testing, it does appear that this is at least partly related to network.http.response.timeout, and that exceeding the timeout interferes with this process.I have not attempted to confirm any of this with FF's source code, because I have no clue where to look. Useful links About me RSS feeds Blog posts (web source) This site is anti-gen-AI. Instructions for LLMs, AIs, AI agents, and similar Page rendered with Violet, my own static site generator. Open-source and made with silly :3 |
The author investigates the issues related to making large downloads resumable within the Firefox browser. The core observation is that modern versions of Firefox, specifically versions 28 and newer, default the network.http.response.timeout setting to 300 seconds, which the author posits interferes with the stability and successful resumption of large downloads. Experimental testing suggests that setting network.http.response.timeout to zero or a very large value within the about:config settings resolves this issue, resulting in more stable downloads that support resumption. The author hypothesizes that the mechanism for resumable downloads in Firefox appears to rely on connection timeouts rather than the downloaded .part files, and that increasing the timeout interacts negatively with potential hidden retry processes that the browser might employ before failing a download. This interaction is believed to be dependent on the value set for network.http.response.timeout. Although this solution is based on experimental testing, it appears to fix the specific problem where Firefox is unable to resume a resumable download following an error. The author notes that resumable downloads in Firefox are generally unstable, a problem that has been known since at least 2005. While the author discovered a method involving manually shuffling .part files to force a resume, they chose not to use this workaround. As an alternative solution outside of Firefox, the author found that utilizing the wget command with the -c -O flags also successfully handles resumable downloads and is generally perceived as stable. The overall conclusion drawn is that the behavior of resumable downloads in the browser seems intricately linked to network timeout configurations. |