mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 21:50:41 +02:00
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)
|
void RequestManager::onSSLError(QNetworkReply *reply, const QList<QSslError> &errors)
|
||||||
{
|
{
|
||||||
//qDebug() << "Network SSL errors";
|
//qDebug() << "Network SSL errors";
|
||||||
for (const auto &error : errors)
|
reply->ignoreSslErrors(errors);
|
||||||
{
|
// for (const auto &error : errors)
|
||||||
if (error.error() == QSslError::SelfSignedCertificate)
|
// {
|
||||||
reply->ignoreSslErrors(errors);
|
// if (error.error() == QSslError::SelfSignedCertificate)
|
||||||
|
// reply->ignoreSslErrors(errors);
|
||||||
//qDebug() << error.errorString();
|
//qDebug() << error.errorString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user