Don't stuck loading on mismatching info-hashes in resume data

PR #20262.
Closes #20251.
This commit is contained in:
Vladimir Golovnev
2024-01-13 18:08:16 +03:00
committed by GitHub
parent 97c0abcbf0
commit 14513d051d
3 changed files with 34 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2015-2023 Vladimir Golovnev <glassez@yandex.ru>
* Copyright (C) 2015-2024 Vladimir Golovnev <glassez@yandex.ru>
* Copyright (C) 2006 Christophe Dumez <chris@qbittorrent.org>
*
* This program is free software; you can redistribute it and/or
@@ -468,6 +468,9 @@ namespace BitTorrent
void invokeAsync(std::function<void ()> func);
signals:
void addTorrentAlertsReceived(qsizetype count);
private slots:
void configureDeferred();
void readAlerts();