mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 22:10:56 +00:00
Disable any usage of proxy servers
This commit is contained in:
1 parent
1a5a6773ce
commit
011edfe2a0
2 files changed
+13
No files matched your search
@@ -10,6 +10,7 @@
|
||||
#include <QSslKey>
|
||||
#include <QImageReader>
|
||||
#include <QtEndian>
|
||||
#include <QNetworkProxy>
|
||||
|
||||
#define REQUEST_TIMEOUT_MS 5000
|
||||
|
||||
@@ -24,6 +25,10 @@ NvHTTP::NvHTTP(QString address) :
|
||||
m_BaseUrlHttps.setHost(address);
|
||||
m_BaseUrlHttp.setPort(47989);
|
||||
m_BaseUrlHttps.setPort(47984);
|
||||
|
||||
// Never use a proxy server
|
||||
QNetworkProxy noProxy(QNetworkProxy::NoProxy);
|
||||
m_Nam.setProxy(noProxy);
|
||||
}
|
||||
|
||||
QVector<int>
|
||||
|
||||
Reference in new issue
Block a user