aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Helpers/StartupHelpers.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-11-17 11:05:14 +0000
committerJPVenson <github@jpb.email>2024-11-17 11:05:14 +0000
commit68252ffa1b85e86c7c91fc482d4cf5414b0dca4b (patch)
tree272b6966183f1fe11f8d5de3dde21b6084e98136 /Jellyfin.Server/Helpers/StartupHelpers.cs
parentc71dc380bf55112986d42c6d8f82856f22752803 (diff)
parent427359deee0a029a36ed92f2668968b5976eb4a9 (diff)
Merge branch 'feature/EFUserData' of https://github.com/JPVenson/jellyfin into feature/EFUserData
Diffstat (limited to 'Jellyfin.Server/Helpers/StartupHelpers.cs')
-rw-r--r--Jellyfin.Server/Helpers/StartupHelpers.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Jellyfin.Server/Helpers/StartupHelpers.cs b/Jellyfin.Server/Helpers/StartupHelpers.cs
index 0802b23ad..bbf6d31f1 100644
--- a/Jellyfin.Server/Helpers/StartupHelpers.cs
+++ b/Jellyfin.Server/Helpers/StartupHelpers.cs
@@ -292,13 +292,5 @@ public static class StartupHelpers
// Make sure we have all the code pages we can get
// Ref: https://docs.microsoft.com/en-us/dotnet/api/system.text.codepagesencodingprovider.instance?view=netcore-3.0#remarks
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
-
- // 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
- // http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c
- ServicePointManager.Expect100Continue = false;
}
}