aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2017-05-23 00:10:11 +0100
committerUbitUmarov2017-05-23 00:10:11 +0100
commitc080d9fa23775dc89262db4ea2abbfa11f2c0c77 (patch)
treefaea1ce1b53f297396f8281f25b88c31c5a7663e /OpenSim/Region
parent check XFF headers of caller, but be quiet about them (diff)
downloadopensim-SC_OLD-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.zip
opensim-SC_OLD-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.gz
opensim-SC_OLD-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.bz2
opensim-SC_OLD-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.xz
remember mono about the default for DnsRefreshTimeout
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/Application.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index bc6d7b3..2fea8d1 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -77,7 +77,10 @@ namespace OpenSim
77 if(Util.IsWindows()) 77 if(Util.IsWindows())
78 ServicePointManager.DefaultConnectionLimit = 32; 78 ServicePointManager.DefaultConnectionLimit = 32;
79 else 79 else
80 {
80 ServicePointManager.DefaultConnectionLimit = 12; 81 ServicePointManager.DefaultConnectionLimit = 12;
82 ServicePointManager.DnsRefreshTimeout = 120000; // just is case crazy mono decides to have it infinity
83 }
81 84
82 ServicePointManager.Expect100Continue = false; 85 ServicePointManager.Expect100Continue = false;
83 ServicePointManager.UseNagleAlgorithm = false; 86 ServicePointManager.UseNagleAlgorithm = false;