Add option for strict SSL mode in backend settings

This commit is contained in:
Jonas Kvinge
2023-03-19 23:02:17 +01:00
parent b16bec704a
commit a1adc1a75a
7 changed files with 24 additions and 3 deletions

View File

@@ -70,6 +70,7 @@ Engine::Base::Base(const EngineType type, QObject *parent)
channels_(0),
bs2b_enabled_(false),
http2_enabled_(true),
strict_ssl_enabled_(false),
about_to_end_emitted_(false) {}
Engine::Base::~Base() = default;
@@ -156,6 +157,8 @@ void Engine::Base::ReloadSettings() {
qLog(Debug) << "SOUP_FORCE_HTTP1:" << (http2_enabled_ ? "OFF" : "ON");
}
strict_ssl_enabled_ = s.value("strict_ssl", false).toBool();
s.endGroup();
s.beginGroup(NetworkProxySettingsPage::kSettingsGroup);