aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2012-09-07 23:27:40 +0200
committerMelanie2012-09-07 23:27:40 +0200
commitb379e790a279a0ed70d2c889c12ecb6849765e02 (patch)
treef9d6e86f73971b1a8ab8e01b8daf8aedd7405a1b /OpenSim
parentPrevent double slashes, try #4 (diff)
downloadopensim-SC_OLD-b379e790a279a0ed70d2c889c12ecb6849765e02.zip
opensim-SC_OLD-b379e790a279a0ed70d2c889c12ecb6849765e02.tar.gz
opensim-SC_OLD-b379e790a279a0ed70d2c889c12ecb6849765e02.tar.bz2
opensim-SC_OLD-b379e790a279a0ed70d2c889c12ecb6849765e02.tar.xz
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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Application/Application.cs2
1 files changed, 2 insertions, 0 deletions
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 @@
27 27
28using System; 28using System;
29using System.IO; 29using System.IO;
30using System.Net;
30using System.Reflection; 31using System.Reflection;
31using log4net; 32using log4net;
32using log4net.Config; 33using log4net.Config;
@@ -73,6 +74,7 @@ namespace OpenSim
73 AppDomain.CurrentDomain.UnhandledException += 74 AppDomain.CurrentDomain.UnhandledException +=
74 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); 75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
75 76
77 ServicePointManager.DefaultConnectionLimit = 50;
76 78
77 // Add the arguments supplied when running the application to the configuration 79 // Add the arguments supplied when running the application to the configuration
78 ArgvConfigSource configSource = new ArgvConfigSource(args); 80 ArgvConfigSource configSource = new ArgvConfigSource(args);