# Firefox's 300-Second Timeout Breaks Resumable Downloads

Original title: Making big downloads resumable in Firefox

> Hacker News story 50061791 · language: en · submitted 2026-10-12
> Web version: https://zeli.app/story/50061791
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 277 · by [speckx](<https://news.ycombinator.com/user?id=speckx>) · 💬 132
[original](<https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50061791>)

## Summary

Firefox 28 and newer set network.http.response.timeout to 300 seconds, which interferes with resuming large downloads. Setting it to 0 in about:config makes downloads resumable and more stable, though only if the server supports resumable transfers. The author suspects Firefox relies on connection timeouts rather than .part files, and notes the issue has been known since 2005.

## Key quote

> I don't understand why this works, but experimental testing supports it.

## HN discussion (132 comments)

### [sunaookami](<https://news.ycombinator.com/item?id=50069460>)

> This is placebo and untrue.
>
> HTTP response timeout is unused when TCP-KeepAlive is enabled (which it is by default): https://searchfox.org/firefox-main/source/netwerk/protocol/h... (also see https://bugzilla.mozilla.org/show_bug.cgi?id=1024015) and Firefox only uses the value until the FIRST byte is received anyway: https://searchfox.org/firefox-main/source/netwerk/protocol/h...
>
> \>I do also suspect firefox does some hidden retries if it can before it considers the download to have failed
>
> There is no such mechanism.

### [edflsafoiewq](<https://news.ycombinator.com/item?id=50064027>)

> I'll try this.
>
> The way I have to resume downloads in Firefox is
>
> 1. Move the .part file to a temp file
>
> 2. Start the download again; a new .part file gets created
>
> 3. Pause the download
>
> 4. Move the temp file to the .part file, overwriting it
>
> 5. Unpause the download; it resumes from where the old .part file stopped
>
> This is only necessary if a "one-time" download link gets interrupted part-way through, eg. by a flaky connection. Attempting to resume a one-time link like normal gets (I assume) a 400 response and FF kills the .part file.

### [Retro_Dev](<https://news.ycombinator.com/item?id=50063888>)

> I like using the aria2[0] download utility - I don't think I've downloaded anything bigger than a dozen megabytes through a web browser for the last several years, and this method allows me more protocols, multiple connections, and of course continuing downloads. That said, it's nice someone found a solution to the problem - makes life easier for everyone who doesn't use an external download utility... How do you even go about finding the solutions to bugs like this?
>
> [0]: https://aria2.github.io/

### [jen729w](<https://news.ycombinator.com/item?id=50069046>)

> My process now for downloading giant things when I'm on poor wifi:
>
> 1. Start the operation in a browser, inspect it, copy as cURL, cancel it.
>
> 2. Login to VPS, paste cURL appending `-o <filename>`.
>
> 3. When finished, `tailscale file cp <filename> <machine>:`.
>
> A bit of a faff, but 100% reliable.

### [felixfurtak](<https://news.ycombinator.com/item?id=50064353>)

> Who remembers Getright?
>
> https://www.getright.com/

### [nirui](<https://news.ycombinator.com/item?id=50064867>)

> Based on the setting `network.http.response.timeout`, which is timeout related, I'm *guessing* Firefox cannot distinguish between a network EOF or a logical/request-level EOF?
>
> But that aside, it's kinda typical for a software from the developed world to have fault tolerance this bad. The engineer who wrote the code probably never ever annoyed by network error aside from a few well-known cases, and thus don't take these problems to their hearts.
>
> For example, have you tried to download big files with a connection that has 100ms ~ 20seconds latency jitter? That happens with crossborder connections in/out of China. And in India, your users sometime experiences power issue which set their router to reboot or redial, that also causes an interruption in download.
>
> Of course, people in these countries can't pay you much. But, these problems can all be solved/mitigated in software. Do you want to improve your software so it can be more robust, or do you want to waste user's time sitting in front your software just to get things done?

### [userbinator](<https://news.ycombinator.com/item?id=50065611>)

> 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.
>
> It's odd how the experience differs so much; I clearly remember successfully resuming a download less than a month ago, and I don't remember any time Firefox had any problems with them. My network.http.response.timeout is the default of 300.
>
> There are reasons, but until someone actually publishes an article that's more detailed than the vagueness here, there's nothing anyone can really do about it.

### [1vuio0pswjnm7](<https://news.ycombinator.com/item?id=50076178>)

> Is there a "large download" we can use to test
>
> It's troublesome that this blog author cannot look at the source code of the browser she's using:
>
> "I have not attempted to confirm any of this with FF's source code, because I have no clue where to look."
>
> I have the source code to the browser I use in a folder. Total folder size is 13.6M.  The statically-compiled browser binary is 1.3M
>
> I normally prefer tnftp for large downloads but this browser IME is also reliable for downloading files, no problems with resume (append), timeouts and number of retries can be adjusted.  I mention this because there are comments in this thread that make sweeping generalisations about "browsers".  Perhaps they only refer to large, popular ones
>
> It's difficult if not impossible to examine an issue with Firefox without an example of a "large download" that purportedly it cannot resume

---

## Cite

- Page: https://zeli.app/story/50061791
- Date: 2026-10-12
- Source: lunarwatcher.codeberg.page (https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html)
- Hacker News: https://news.ycombinator.com/item?id=50061791

## Other languages

- zh: https://zeli.app/zh/story/50061791 · markdown: https://zeli.app/zh/story/50061791.md
- ja: https://zeli.app/ja/story/50061791 · markdown: https://zeli.app/ja/story/50061791.md
- ko: https://zeli.app/ko/story/50061791 · markdown: https://zeli.app/ko/story/50061791.md
- de: https://zeli.app/de/story/50061791 · markdown: https://zeli.app/de/story/50061791.md
- es: https://zeli.app/es/story/50061791 · markdown: https://zeli.app/es/story/50061791.md
- ru: https://zeli.app/ru/story/50061791 · markdown: https://zeli.app/ru/story/50061791.md
