diff --git a/v2rayN/Directory.Packages.props b/v2rayN/Directory.Packages.props
index 57dedb74..14b16776 100644
--- a/v2rayN/Directory.Packages.props
+++ b/v2rayN/Directory.Packages.props
@@ -11,7 +11,7 @@
-
+
@@ -29,4 +29,4 @@
-
+
\ No newline at end of file
diff --git a/v2rayN/ServiceLib/Helper/DownloaderHelper.cs b/v2rayN/ServiceLib/Helper/DownloaderHelper.cs
index f4a7ae7f..71c3edbe 100644
--- a/v2rayN/ServiceLib/Helper/DownloaderHelper.cs
+++ b/v2rayN/ServiceLib/Helper/DownloaderHelper.cs
@@ -24,13 +24,13 @@ public class DownloaderHelper
var downloadOpt = new DownloadConfiguration()
{
- Timeout = timeout * 1000,
+ BlockTimeout = timeout * 1000,
MaxTryAgainOnFailure = 2,
RequestConfiguration =
{
Headers = headers,
UserAgent = userAgent,
- Timeout = timeout * 1000,
+ ConnectTimeout = timeout * 1000,
Proxy = webProxy
}
};
@@ -62,11 +62,11 @@ public class DownloaderHelper
var downloadOpt = new DownloadConfiguration()
{
- Timeout = timeout * 1000,
+ BlockTimeout = timeout * 1000,
MaxTryAgainOnFailure = 2,
RequestConfiguration =
{
- Timeout= timeout * 1000,
+ ConnectTimeout= timeout * 1000,
Proxy = webProxy
}
};
@@ -139,11 +139,11 @@ public class DownloaderHelper
var downloadOpt = new DownloadConfiguration()
{
- Timeout = timeout * 1000,
+ BlockTimeout = timeout * 1000,
MaxTryAgainOnFailure = 2,
RequestConfiguration =
{
- Timeout= timeout * 1000,
+ ConnectTimeout= timeout * 1000,
Proxy = webProxy
}
};