diff options
author | Melanie | 2012-09-07 23:27:40 +0200 |
---|---|---|
committer | Melanie | 2012-09-07 23:27:40 +0200 |
commit | b379e790a279a0ed70d2c889c12ecb6849765e02 (patch) | |
tree | f9d6e86f73971b1a8ab8e01b8daf8aedd7405a1b /OpenSim | |
parent | Prevent double slashes, try #4 (diff) | |
download | opensim-SC-b379e790a279a0ed70d2c889c12ecb6849765e02.zip opensim-SC-b379e790a279a0ed70d2c889c12ecb6849765e02.tar.gz opensim-SC-b379e790a279a0ed70d2c889c12ecb6849765e02.tar.bz2 opensim-SC-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.cs | 2 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.IO; | 29 | using System.IO; |
30 | using System.Net; | ||
30 | using System.Reflection; | 31 | using System.Reflection; |
31 | using log4net; | 32 | using log4net; |
32 | using log4net.Config; | 33 | using 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); |