From ad5d21db5af6301a68460cbbee597bedba50b0bf Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 20 Jul 2025 15:06:08 +0800 Subject: [PATCH] Upgrade Downloader package --- v2rayN/Directory.Packages.props | 4 ++-- v2rayN/ServiceLib/Common/DownloaderHelper.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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,