diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-11-16 18:11:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 10:11:01 -0700 |
| commit | ceb850c77052c465af8422dcf152f1d1d1530457 (patch) | |
| tree | 03596036aa41f2927ec5efc9d94cf99917d66fdf /Jellyfin.Server/Helpers | |
| parent | 5e8c0fe40c0eb4c29b0f11cdf397c9880708e74b (diff) | |
Update projects to .NET 9 (#13023)
Diffstat (limited to 'Jellyfin.Server/Helpers')
| -rw-r--r-- | Jellyfin.Server/Helpers/StartupHelpers.cs | 8 |
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; } } |
