Fix Xray connection timeout for Windows
This commit is contained in:
parent
4a01d2cf20
commit
6f94f4646a
1 changed files with 1 additions and 1 deletions
2
client/protocols/xrayprotocol.cpp
Normal file → Executable file
2
client/protocols/xrayprotocol.cpp
Normal file → Executable file
|
@ -146,7 +146,7 @@ ErrorCode XrayProtocol::startTun2Sock()
|
||||||
IpcClient::Interface()->updateResolvers("utun22", dnsAddr);
|
IpcClient::Interface()->updateResolvers("utun22", dnsAddr);
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_WINDOWS
|
#ifdef Q_OS_WINDOWS
|
||||||
QThread::msleep(15000);
|
QThread::msleep(7000);
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_LINUX
|
#ifdef Q_OS_LINUX
|
||||||
QThread::msleep(1000);
|
QThread::msleep(1000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue