Fixed shutdown handling of stalled http requests.

This commit is contained in:
Jari Sundell
2026-06-29 09:18:56 +02:00
committed by GitHub
parent 9431dd5acc
commit 6558f0ad42
3 changed files with 39 additions and 13 deletions
+3 -2
View File
@@ -151,12 +151,13 @@ Manager::cleanup() {
void
Manager::shutdown(bool force) {
if (!force)
if (!force) {
for (auto d : *m_download_list)
m_download_list->pause_default(d);
else
} else {
for (auto d : *m_download_list)
m_download_list->close_quick(d);
}
}
void