mirror of https://github.com/2dust/v2rayN
Bug fix
parent
5efb784115
commit
160d3843a6
|
@ -297,7 +297,7 @@ namespace v2rayN.Handler
|
||||||
});
|
});
|
||||||
await client.GetAsync(url, cts.Token);
|
await client.GetAsync(url, cts.Token);
|
||||||
|
|
||||||
responseTime = timer.Elapsed.Milliseconds;
|
responseTime = (int)timer.Elapsed.TotalMilliseconds;
|
||||||
}
|
}
|
||||||
catch //(Exception ex)
|
catch //(Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
@ -389,7 +389,7 @@ namespace v2rayN.Handler
|
||||||
clientSocket.EndConnect(result);
|
clientSocket.EndConnect(result);
|
||||||
|
|
||||||
timer.Stop();
|
timer.Stop();
|
||||||
responseTime = timer.Elapsed.Milliseconds;
|
responseTime = (int)timer.Elapsed.TotalMilliseconds;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue