瀏覽代碼

Fix merge errors

Bond_009 6 年之前
父節點
當前提交
c7d12cc481
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      Jellyfin.Server/Program.cs

+ 0 - 7
Jellyfin.Server/Program.cs

@@ -120,13 +120,6 @@ namespace Jellyfin.Server
             // The default connection limit is 10 for ASP.NET hosted applications and 2 for all others.
             // The default connection limit is 10 for ASP.NET hosted applications and 2 for all others.
             ServicePointManager.DefaultConnectionLimit = Math.Max(96, ServicePointManager.DefaultConnectionLimit);
             ServicePointManager.DefaultConnectionLimit = Math.Max(96, ServicePointManager.DefaultConnectionLimit);
 
 
-// CA5359: Do Not Disable Certificate Validation
-#pragma warning disable CA5359
-
-            // Increase the max http request limit
-            // The default connection limit is 10 for ASP.NET hosted applications and 2 for all others.
-            ServicePointManager.DefaultConnectionLimit = Math.Max(96, ServicePointManager.DefaultConnectionLimit);
-
             // Disable the "Expect: 100-Continue" header by default
             // Disable the "Expect: 100-Continue" header by default
             // http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c
             // http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c
             ServicePointManager.Expect100Continue = false;
             ServicePointManager.Expect100Continue = false;