Detect hoster error-page downloads (<512 B) and trigger retry
Build and Release / build (push) Has been cancelled

Some hosters return tiny error responses (e.g. 9 bytes) with HTTP 200.
- downloadToFile: detect files <512 B, log content, delete and throw for retry
- Post-download: catch <512 B files even when totalBytes is unknown
- Logs the error-page content for debugging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-02 12:44:02 +01:00
co-authored by Claude Opus 4.6
parent 122c797652
commit c28384e78d
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.4.81",
"version": "1.4.82",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",