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.
avinationmerge
Melanie 2012-09-07 23:27:40 +02:00
parent f53ca6285b
commit b379e790a2
1 changed files with 2 additions and 0 deletions

View File

@ -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);