mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Minor fixes related to the SSL lib issue
https://discordapp.com/channels/539048679160676382/539925070550794240/691469857891418202
This commit is contained in:
committed by
Mat Sutcliffe
parent
1e789c0951
commit
76e42cc16e
@@ -430,7 +430,7 @@ namespace BlackCore
|
||||
return msgs;
|
||||
}
|
||||
|
||||
// getting here can means no "real" read success, and NO available cache
|
||||
// getting here means no "real" read success, and NO available cache
|
||||
msgs.push_back(CStatusMessage(this).error(u"Setup not available, setup reading failed or timed out."));
|
||||
if (m_setupReader->getLastSetupReadErrorMessages().hasErrorMessages())
|
||||
{
|
||||
@@ -451,7 +451,7 @@ namespace BlackCore
|
||||
|
||||
CStatusMessageList CApplication::requestReloadOfSetupAndVersion()
|
||||
{
|
||||
if (m_shutdown) { return CStatusMessage(this).warning(u"Shutting down, not reading"); }
|
||||
if (m_shutdown) { return CStatusMessage(this).warning(u"Shutting down, not reading"); }
|
||||
if (!m_setupReader) { return CStatusMessage(this).error(u"No reader for setup/version"); }
|
||||
Q_ASSERT_X(m_parsed, Q_FUNC_INFO, "Not yet parsed");
|
||||
return m_setupReader->asyncLoad();
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace BlackCore
|
||||
{
|
||||
m_updateInfoUrls = cachedSetup.getSwiftUpdateInfoFileUrls(); // we use the info URLs from cached setup
|
||||
msgs.push_back(cacheAvailable ?
|
||||
CStatusMessage(this, CStatusMessage::SeverityInfo, u"Cache only setup, using it as it is") :
|
||||
CStatusMessage(this, CStatusMessage::SeverityInfo, u"Cache only setup, using it as it is") :
|
||||
CStatusMessage(this, CStatusMessage::SeverityError, u"Cache only setup, but cache is empty"));
|
||||
msgs.push_back(this->manageSetupAvailability(false, false)); // treat cache as local read
|
||||
return msgs;
|
||||
@@ -116,7 +116,7 @@ namespace BlackCore
|
||||
if (m_bootstrapUrls.isEmpty())
|
||||
{
|
||||
// after all still empty
|
||||
msgs.push_back(CStatusMessage(this, CStatusMessage::SeverityInfo, u"Your log files are here: " % CDirectoryUtils::logDirectory()));
|
||||
msgs.push_back(CStatusMessage(this, CStatusMessage::SeverityInfo, u"Your log files are here: " % CDirectoryUtils::logDirectory()));
|
||||
msgs.push_back(CStatusMessage(this, CStatusMessage::SeverityError, u"No bootstrap URLs, cannot load setup"));
|
||||
}
|
||||
else
|
||||
|
||||
@@ -65,6 +65,9 @@ namespace BlackCore
|
||||
Q_ASSERT_X(sApp->isSetupAvailable(), Q_FUNC_INFO, "Setup not synchronized");
|
||||
this->setObjectName("CWebDataServices");
|
||||
|
||||
// SSL INFOs
|
||||
CLogMessage(this).info(u"SSL supported: %1 Version: %2 (build version) %3 (library version)") << boolToYesNo(QSslSocket::supportsSsl()) << QSslSocket::sslLibraryBuildVersionString() << QSslSocket::sslLibraryVersionString();
|
||||
|
||||
// check if I need info objects
|
||||
const bool readFromSwiftDb = dbReaderConfig.possiblyReadsFromSwiftDb(); // DB read access
|
||||
const bool writeToSwiftDb = dbReaderConfig.possiblyWritesToSwiftDb(); // DB write access
|
||||
|
||||
Reference in New Issue
Block a user