From 086eb28a9183cd0896fefc51d1a689162bd96299 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Fri, 12 May 2017 22:03:53 +0100
Subject:  a bit more on ServicePointManager

---
 OpenSim/Region/Application/Application.cs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'OpenSim/Region')

diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index bd2445c..bc6d7b3 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -74,11 +74,12 @@ namespace OpenSim
             AppDomain.CurrentDomain.UnhandledException +=
                 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
 
-            if(!Util.IsWindows())
-                ServicePointManager.DefaultConnectionLimit = 12;
-            else
+            if(Util.IsWindows())
                 ServicePointManager.DefaultConnectionLimit = 32;
+            else
+                ServicePointManager.DefaultConnectionLimit = 12;
 
+            ServicePointManager.Expect100Continue = false;
             ServicePointManager.UseNagleAlgorithm = false;
 
             // Add the arguments supplied when running the application to the configuration
-- 
cgit v1.1