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/Server/ServerMain.cs | |
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/Server/ServerMain.cs')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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 | ||