Allow other SSL errors as long as the cert is correct

This commit is contained in:
Cameron Gutman committed 2019-03-16 19:01:55 -07:00
1 parent c540bec824
commit 37636ef1eb
2 files changed
+32 -20

No files matched your search

+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,