Browse Source

Ignore SSL errors when uploading crash dumps on OpenELEC

Tobias Hieta 9 years ago
parent
commit
06fb7e0d64
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/tools/helper/CrashUploader.cpp

+ 4 - 0
src/tools/helper/CrashUploader.cpp

@@ -100,6 +100,10 @@ void CrashUploader::uploadCrashDump(const QString& version, const QString& path)
   QNetworkReply* reply = m_manager->post(req, multiPart);
   multiPart->setParent(reply);
 
+#ifdef KONVERGO_OPENELEC
+  reply->ignoreSslErrors();
+#endif
+
   connect(reply, static_cast<void (QNetworkReply::*)()>(&QNetworkReply::finished), [=]()
   {
     QVariant statusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute);