mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Set PreferGo to false (#323)
This commit is contained in:
1 parent
57df30100c
commit
e30bcf046c
1 file changed
+1
-1
@@ -26,7 +26,7 @@ func init() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
dialer := net.Dialer{Timeout: 1000 * time.Millisecond}
|
||||
DefaultResolver = &net.Resolver{
|
||||
PreferGo: true,
|
||||
PreferGo: false,
|
||||
StrictErrors: false,
|
||||
Dial: func(ctx context.Context, network, address string) (net.Conn, error) {
|
||||
server := dnsServers[rand.Intn(len(dnsServers))]
|
||||
|
||||
Reference in new issue
Block a user