diff --git a/src/N_m3u8DL-RE/Program.cs b/src/N_m3u8DL-RE/Program.cs index b7403ad..ea19ce4 100644 --- a/src/N_m3u8DL-RE/Program.cs +++ b/src/N_m3u8DL-RE/Program.cs @@ -13,6 +13,7 @@ using N_m3u8DL_RE.Config; using N_m3u8DL_RE.Util; using N_m3u8DL_RE.DownloadManager; using N_m3u8DL_RE.CommandLine; +using System.Net; namespace N_m3u8DL_RE { @@ -20,6 +21,7 @@ namespace N_m3u8DL_RE { static async Task Main(string[] args) { + ServicePointManager.DefaultConnectionLimit = 1024; try { Console.CursorVisible = true; } catch { } string loc = "en-US"; string currLoc = Thread.CurrentThread.CurrentUICulture.Name;