diff options
Diffstat (limited to 'OpenSim/Server/ServerMain.cs')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 65e9287..ed5a481 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -29,6 +29,7 @@ using Nini.Config; | |||
29 | using log4net; | 29 | using log4net; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using System; | 31 | using System; |
32 | using System.Net; | ||
32 | using System.Collections.Generic; | 33 | using System.Collections.Generic; |
33 | using OpenSim.Framework.Servers; | 34 | using OpenSim.Framework.Servers; |
34 | using OpenSim.Framework.Servers.HttpServer; | 35 | using OpenSim.Framework.Servers.HttpServer; |
@@ -53,6 +54,10 @@ namespace OpenSim.Server | |||
53 | 54 | ||
54 | public static int Main(string[] args) | 55 | public static int Main(string[] args) |
55 | { | 56 | { |
57 | // Make sure we don't get outbound connections queueing | ||
58 | ServicePointManager.DefaultConnectionLimit = 50; | ||
59 | ServicePointManager.UseNagleAlgorithm = false; | ||
60 | |||
56 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); | 61 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); |
57 | 62 | ||
58 | string registryLocation; | 63 | string registryLocation; |