-bool UpdateChecker::getFile(const QString &url, const QString &outFile, unsigned int maxRedir, bool *httpOk)
+bool UpdateChecker::getFile(const QString &url, const QString &outFile, const unsigned int maxRedir, bool *httpOk)
+{
+ for(int i = 0; i < 2; i++)
+ {
+ if(getFile(url, (i > 0), outFile, maxRedir, httpOk))
+ {
+ return true;
+ }
+ }
+ return false;
+}
+
+bool UpdateChecker::getFile(const QString &url, const bool forceIp4, const QString &outFile, const unsigned int maxRedir, bool *httpOk)