diff --git a/v2rayN/Directory.Packages.props b/v2rayN/Directory.Packages.props index e7523eda..57a50cfb 100644 --- a/v2rayN/Directory.Packages.props +++ b/v2rayN/Directory.Packages.props @@ -10,7 +10,7 @@ - + @@ -27,4 +27,4 @@ - + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Common/DownloaderHelper.cs b/v2rayN/ServiceLib/Common/DownloaderHelper.cs index 0c4cde0c..073e1ab4 100644 --- a/v2rayN/ServiceLib/Common/DownloaderHelper.cs +++ b/v2rayN/ServiceLib/Common/DownloaderHelper.cs @@ -26,7 +26,7 @@ public class DownloaderHelper var downloadOpt = new DownloadConfiguration() { Timeout = timeout * 1000, - MaxTryAgainOnFailover = 2, + MaxTryAgainOnFailure = 2, RequestConfiguration = { Headers = headers, @@ -64,7 +64,7 @@ public class DownloaderHelper var downloadOpt = new DownloadConfiguration() { Timeout = timeout * 1000, - MaxTryAgainOnFailover = 2, + MaxTryAgainOnFailure = 2, RequestConfiguration = { Timeout= timeout * 1000, @@ -135,7 +135,7 @@ public class DownloaderHelper var downloadOpt = new DownloadConfiguration() { Timeout = timeout * 1000, - MaxTryAgainOnFailover = 2, + MaxTryAgainOnFailure = 2, RequestConfiguration = { Timeout= timeout * 1000,