delay test http to https
This commit is contained in:
@@ -3,7 +3,7 @@ module github.com/2dust/AndroidLibXrayLite
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/xtls/xray-core v1.6.6
|
||||
github.com/xtls/xray-core v1.7.2
|
||||
golang.org/x/mobile v0.0.0-20221020085226-b36e6246172e
|
||||
golang.org/x/sys v0.1.0
|
||||
)
|
||||
|
||||
+1
-1
@@ -270,7 +270,7 @@ func measureInstDelay(ctx context.Context, inst *v2core.Instance) (int64, error)
|
||||
Timeout: 12 * time.Second,
|
||||
}
|
||||
|
||||
req, _ := http.NewRequestWithContext(ctx, "GET", "http://www.google.com/generate_204", nil)
|
||||
req, _ := http.NewRequestWithContext(ctx, "GET", "https://www.google.com/generate_204", nil)
|
||||
start := time.Now()
|
||||
resp, err := c.Do(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user