Add an option to disable the automatic connection testing

This commit is contained in:
Cameron Gutman
2020-08-08 18:29:36 -07:00
parent ad08440023
commit b81392b818
5 changed files with 38 additions and 4 deletions

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