Allow other SSL errors as long as the cert is correct

This commit is contained in:
Cameron Gutman
2019-03-16 18:50:07 -07:00
parent c540bec824
commit 37636ef1eb
2 changed files with 32 additions and 20 deletions
+6 -1
View File
@@ -113,8 +113,10 @@ private:
QString m_ErrorText;
};
class NvHTTP
class NvHTTP : public QObject
{
Q_OBJECT
public:
enum NvLogLevel {
NVLL_NONE,
@@ -184,6 +186,9 @@ public:
QUrl m_BaseUrlHttp;
QUrl m_BaseUrlHttps;
private:
void
handleSslErrors(QNetworkReply* reply, const QList<QSslError>& errors);
QNetworkReply*
openConnection(QUrl baseUrl,
QString command,