diff options
author | UbitUmarov | 2017-05-23 00:10:11 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-23 00:10:11 +0100 |
commit | c080d9fa23775dc89262db4ea2abbfa11f2c0c77 (patch) | |
tree | faea1ce1b53f297396f8281f25b88c31c5a7663e /OpenSim | |
parent | check XFF headers of caller, but be quiet about them (diff) | |
download | opensim-SC-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.zip opensim-SC-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.gz opensim-SC-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.bz2 opensim-SC-c080d9fa23775dc89262db4ea2abbfa11f2c0c77.tar.xz |
remember mono about the default for DnsRefreshTimeout
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 3 | ||||
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 1 |
2 files changed, 4 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; |
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 96b0a82..2f2eb28 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -55,6 +55,7 @@ namespace OpenSim.Server | |||
55 | public static int Main(string[] args) | 55 | public static int Main(string[] args) |
56 | { | 56 | { |
57 | ServicePointManager.DefaultConnectionLimit = 64; | 57 | ServicePointManager.DefaultConnectionLimit = 64; |
58 | ServicePointManager.DnsRefreshTimeout = 120000; // just is case mono decides to have it infinity | ||
58 | ServicePointManager.Expect100Continue = false; | 59 | ServicePointManager.Expect100Continue = false; |
59 | ServicePointManager.UseNagleAlgorithm = false; | 60 | ServicePointManager.UseNagleAlgorithm = false; |
60 | 61 | ||