From b379e790a279a0ed70d2c889c12ecb6849765e02 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 7 Sep 2012 23:27:40 +0200 Subject: Set the maximum number of concurrent connections to a service endpoint to 50. This doesn't work on stock mono but it works in Avination and also under Windoze. --- OpenSim/Region/Application/Application.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index ebfebc4..0dbb95a 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -27,6 +27,7 @@ using System; using System.IO; +using System.Net; using System.Reflection; using log4net; using log4net.Config; @@ -73,6 +74,7 @@ namespace OpenSim AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); + ServicePointManager.DefaultConnectionLimit = 50; // Add the arguments supplied when running the application to the configuration ArgvConfigSource configSource = new ArgvConfigSource(args); -- cgit v1.1