mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 21:28:51 +00:00
Timeout to 30s
This commit is contained in:
parent
f597f09914
commit
9415055e6f
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ namespace v2rayN.Handler
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(url);
|
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(url);
|
||||||
myHttpWebRequest.Timeout = 5000;
|
myHttpWebRequest.Timeout = 30 * 1000;
|
||||||
myHttpWebRequest.Proxy = webProxy;
|
myHttpWebRequest.Proxy = webProxy;
|
||||||
|
|
||||||
Stopwatch timer = new Stopwatch();
|
Stopwatch timer = new Stopwatch();
|
||||||
|
|
Loading…
Reference in a new issue