feat(backend): implement download queue and resolve legacy parity gaps

- Add SSRF protection and migrate sensitive credentials to tempfiles
- Refactor aria2c process management to use ephemeral JSON-RPC
- Implement sysinfo recursive process termination for graceful stopping
- Add DownloadManager and MPSC queue for strict concurrency limits
- Configure yt-dlp to delegate download chunking to aria2c
This commit is contained in:
NimBold
2026-06-13 12:19:05 +03:30
parent f8c89e2f88
commit c79dcfa74d
4 changed files with 383 additions and 106 deletions
+2 -1
View File
@@ -25,7 +25,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["process", "io-util", "rt", "macros"] }
regex = "1.10"
reqwest = "0.12"
reqwest = { version = "0.12", features = ["json"] }
tauri-plugin-notification = "2.3.3"
sysinfo = "0.39.3"
keyring = "3"
@@ -33,3 +33,4 @@ hmac = "0.12"
sha2 = "0.10"
tauri-plugin-deep-link = "2"
tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
tempfile = "3"