Add an option to disable the automatic connection testing

This commit is contained in:
Cameron Gutman committed 2020-08-08 18:29:36 -07:00
1 parent ad08440023
commit b81392b818
5 files changed
+38 -4

No files matched your search

+1 -1
View File
@@ -721,7 +721,7 @@ private:
else {
portFlags = 0;
}
if (portFlags != 0) {
if (portFlags != 0 && m_Session->m_Preferences->detectNetworkBlocking) {
portTestResult = LiTestClientConnectivity("qt.conntest.moonlight-stream.org", 443, portFlags);
// Ignore an inconclusive result