aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorUbitUmarov2017-05-23 00:52:40 +0100
committerUbitUmarov2017-05-23 00:52:40 +0100
commit7b80bcc57a4d7be5d518e83408e063a71ce0eb4c (patch)
tree0035e197830e25f3da72e314ec9b2c56283f3085 /OpenSim/Region/Application
parent remember mono about the default for DnsRefreshTimeout (diff)
downloadopensim-SC_OLD-7b80bcc57a4d7be5d518e83408e063a71ce0eb4c.zip
opensim-SC_OLD-7b80bcc57a4d7be5d518e83408e063a71ce0eb4c.tar.gz
opensim-SC_OLD-7b80bcc57a4d7be5d518e83408e063a71ce0eb4c.tar.bz2
opensim-SC_OLD-7b80bcc57a4d7be5d518e83408e063a71ce0eb4c.tar.xz
no all mono versions know DnsRefreshTimeout
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/Application.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 2fea8d1..4bd2c28 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -79,7 +79,8 @@ namespace OpenSim
79 else 79 else
80 { 80 {
81 ServicePointManager.DefaultConnectionLimit = 12; 81 ServicePointManager.DefaultConnectionLimit = 12;
82 ServicePointManager.DnsRefreshTimeout = 120000; // just is case crazy mono decides to have it infinity 82 try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case crazy some mono decides to have it infinity
83 catch { }
83 } 84 }
84 85
85 ServicePointManager.Expect100Continue = false; 86 ServicePointManager.Expect100Continue = false;