forked from ondra/colnod-connector
ignore ssl errors
This commit is contained in:
parent
7c49c7a1ec
commit
f62563a7ff
@ -126,10 +126,11 @@ void RequestManager::prepareAuthHeader()
|
||||
void RequestManager::onSSLError(QNetworkReply *reply, const QList<QSslError> &errors)
|
||||
{
|
||||
//qDebug() << "Network SSL errors";
|
||||
for (const auto &error : errors)
|
||||
{
|
||||
if (error.error() == QSslError::SelfSignedCertificate)
|
||||
reply->ignoreSslErrors(errors);
|
||||
// for (const auto &error : errors)
|
||||
// {
|
||||
// if (error.error() == QSslError::SelfSignedCertificate)
|
||||
// reply->ignoreSslErrors(errors);
|
||||
//qDebug() << error.errorString();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user