diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 2f2eb28..341c227 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -55,10 +55,12 @@ 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 | ||
59 | ServicePointManager.Expect100Continue = false; | 58 | ServicePointManager.Expect100Continue = false; |
60 | ServicePointManager.UseNagleAlgorithm = false; | 59 | ServicePointManager.UseNagleAlgorithm = false; |
61 | 60 | ||
61 | try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case some mono decides to have it infinity | ||
62 | catch { } | ||
63 | |||
62 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); | 64 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); |
63 | 65 | ||
64 | string registryLocation; | 66 | string registryLocation; |