mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 13:41:26 -07:00
Don't ignore SSL errors
This commit is contained in:
parent
1c43286616
commit
6981217369
7 changed files with 54 additions and 6 deletions
|
@ -378,6 +378,8 @@ void AppController::preferencesAction()
|
|||
data[u"resolve_peer_countries"_s] = pref->resolvePeerCountries();
|
||||
// Reannounce to all trackers when ip/port changed
|
||||
data[u"reannounce_when_address_changed"_s] = session->isReannounceWhenAddressChangedEnabled();
|
||||
// Ignore SSL errors
|
||||
data[u"ignore_ssl_errors"_s] = pref->isIgnoreSSLErrors();
|
||||
|
||||
// libtorrent preferences
|
||||
// Bdecode depth limit
|
||||
|
@ -992,6 +994,9 @@ void AppController::setPreferencesAction()
|
|||
// Reannounce to all trackers when ip/port changed
|
||||
if (hasKey(u"reannounce_when_address_changed"_s))
|
||||
session->setReannounceWhenAddressChangedEnabled(it.value().toBool());
|
||||
// Ignore SLL errors
|
||||
if (hasKey(u"ignore_ssl_errors"_s))
|
||||
pref->setIgnoreSSLErrors(it.value().toBool());
|
||||
|
||||
// libtorrent preferences
|
||||
// Bdecode depth limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue