mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
no all mono versions know DnsRefreshTimeout
This commit is contained in:
@@ -79,7 +79,8 @@ namespace OpenSim
|
||||
else
|
||||
{
|
||||
ServicePointManager.DefaultConnectionLimit = 12;
|
||||
ServicePointManager.DnsRefreshTimeout = 120000; // just is case crazy mono decides to have it infinity
|
||||
try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case crazy some mono decides to have it infinity
|
||||
catch { }
|
||||
}
|
||||
|
||||
ServicePointManager.Expect100Continue = false;
|
||||
|
||||
@@ -55,10 +55,12 @@ namespace OpenSim.Server
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
ServicePointManager.DefaultConnectionLimit = 64;
|
||||
ServicePointManager.DnsRefreshTimeout = 120000; // just is case mono decides to have it infinity
|
||||
ServicePointManager.Expect100Continue = false;
|
||||
ServicePointManager.UseNagleAlgorithm = false;
|
||||
|
||||
try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case some mono decides to have it infinity
|
||||
catch { }
|
||||
|
||||
m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
|
||||
|
||||
string registryLocation;
|
||||
|
||||
Reference in New Issue
Block a user