diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index bd2445c..bc6d7b3 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -74,11 +74,12 @@ namespace OpenSim | |||
74 | AppDomain.CurrentDomain.UnhandledException += | 74 | AppDomain.CurrentDomain.UnhandledException += |
75 | new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); | 75 | new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); |
76 | 76 | ||
77 | if(!Util.IsWindows()) | 77 | if(Util.IsWindows()) |
78 | ServicePointManager.DefaultConnectionLimit = 12; | ||
79 | else | ||
80 | ServicePointManager.DefaultConnectionLimit = 32; | 78 | ServicePointManager.DefaultConnectionLimit = 32; |
79 | else | ||
80 | ServicePointManager.DefaultConnectionLimit = 12; | ||
81 | 81 | ||
82 | ServicePointManager.Expect100Continue = false; | ||
82 | ServicePointManager.UseNagleAlgorithm = false; | 83 | ServicePointManager.UseNagleAlgorithm = false; |
83 | 84 | ||
84 | // Add the arguments supplied when running the application to the configuration | 85 | // Add the arguments supplied when running the application to the configuration |