Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Making big downloads resumable in Firefox

Article URL: https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html Comments URL: https://news.ycombinator.com/item?id=50061791 Points: 275 # Comments: 132

Since Firefox 28 and later versions (i.e. any modern version released after 2014), the network.http.response.timeout setting is defaulted to 300 seconds. This may be a contributing factor to the instability and difficulty in resuming large downloads, as well as overall download stability. Adjusting network.http.response.timeout to a higher value, such as 0 or a very large number, in the about:config settings can improve the resumability and stability of big downloads.

However, this is contingent upon the server supporting resumable downloads; if it doesn't, adjusting Firefox settings will not resolve the issue. Firefox seems to be unable to resume a resumable download when it encounters an error, possibly due to relying on connection timeouts rather than the .part files it downloads. The .part files are ignored by Firefox even when this option is enabled, which is unclear.

Resumable downloads in Firefox have been known to be unstable since at least 2005. Another method to resume downloads on a non-Firefox platform is using wget with the -c (continue) and -O (output file) options, which has proven to be a stable alternative. It is also suspected that Firefox performs hidden retries before considering a download failed, and that exceeding the timeout may interfere with this process.

However, these claims have not been confirmed by examining Firefox's source code, due to lack of understanding of the codebase.

Rewritten by urgent.news; may contain errors — check the original.

Source: lunarwatcher.codeberg.page

This story

This is one outlet's version. Read the fullest account.

Every outlet that reported this, and when →

Read the original at lunarwatcher.codeberg.page →

Report a problem with this story

More in Tech

More from Monday 12 October →