From 1efb4e494d325f06982c6ba324e9617154c45908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 17 Aug 2022 01:50:24 +0200 Subject: [PATCH] Properly abort the connections on timeout --- src/common/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/downloader.cpp b/src/common/downloader.cpp index e2cb6860..17dd905a 100644 --- a/src/common/downloader.cpp +++ b/src/common/downloader.cpp @@ -68,7 +68,7 @@ void NetworkTimeout::timerEvent(QTimerEvent *ev) return; QNetworkReply *reply = static_cast(parent()); if (reply->isRunning()) - reply->close(); + reply->abort(); _timer.stop(); }