From 80e2b148f17a73b1b6c8a5836bc36658ac6c0de2 Mon Sep 17 00:00:00 2001 From: Sewer 56 Date: Wed, 3 Aug 2022 23:39:27 +0100 Subject: [PATCH] Added: Resolve Windows Proxy at Boot for Faster 1st Web Request --- source/Reloaded.Mod.Launcher/ModuleInitialiser.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Reloaded.Mod.Launcher/ModuleInitialiser.cs b/source/Reloaded.Mod.Launcher/ModuleInitialiser.cs index cb7fe9f5..bfcc5781 100644 --- a/source/Reloaded.Mod.Launcher/ModuleInitialiser.cs +++ b/source/Reloaded.Mod.Launcher/ModuleInitialiser.cs @@ -7,5 +7,6 @@ public static void Init() { // Raise maximum number of WebRequest connections ServicePointManager.DefaultConnectionLimit = int.MaxValue; + Task.Run(WebRequest.GetSystemWebProxy); } } \ No newline at end of file