aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Application/Application.cs6
-rw-r--r--OpenSim/Server/ServerMain.cs2
2 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 7b9d35d..bd2445c 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -74,7 +74,11 @@ namespace OpenSim
74 AppDomain.CurrentDomain.UnhandledException += 74 AppDomain.CurrentDomain.UnhandledException +=
75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); 75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
76 76
77 ServicePointManager.DefaultConnectionLimit = 128; 77 if(!Util.IsWindows())
78 ServicePointManager.DefaultConnectionLimit = 12;
79 else
80 ServicePointManager.DefaultConnectionLimit = 32;
81
78 ServicePointManager.UseNagleAlgorithm = false; 82 ServicePointManager.UseNagleAlgorithm = false;
79 83
80 // Add the arguments supplied when running the application to the configuration 84 // Add the arguments supplied when running the application to the configuration
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs
index 74bb163..6938db7 100644
--- a/OpenSim/Server/ServerMain.cs
+++ b/OpenSim/Server/ServerMain.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Server
54 54
55 public static int Main(string[] args) 55 public static int Main(string[] args)
56 { 56 {
57 ServicePointManager.DefaultConnectionLimit = 4096; 57 ServicePointManager.DefaultConnectionLimit = 64;
58 ServicePointManager.UseNagleAlgorithm = false; 58 ServicePointManager.UseNagleAlgorithm = false;
59 59
60 m_Server = new HttpServerBase("R.O.B.U.S.T.", args); 60 m_Server = new HttpServerBase("R.O.B.U.S.T.", args);