I sometimes find downloads made using Google Chrome get interrupted, causing files to be truncated. Chrome seems to detect this situation as ERR_CONTENT_LENGTH_MISMATCH, but then ignores the error and considers the download to be successful. There is thus no notification that the downloaded file is incomplete.
The code in Chromium which causes ERR_CONTENT_LENGTH_MISMATCH to be ignored seems to be here.
Is it possible to get Chrome to consider these interrupted downloads as corrupt and thus notify the user to retry? If not, is there an alternative download manager for Chrome, even something as simple as command-line wget
, which considers ERR_CONTENT_LENGTH_MISMATCH (or equivalent) to be an error and either fails or automatically retries?