mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
remember mono about the default for DnsRefreshTimeout
This commit is contained in:
@@ -77,7 +77,10 @@ namespace OpenSim
|
||||
if(Util.IsWindows())
|
||||
ServicePointManager.DefaultConnectionLimit = 32;
|
||||
else
|
||||
{
|
||||
ServicePointManager.DefaultConnectionLimit = 12;
|
||||
ServicePointManager.DnsRefreshTimeout = 120000; // just is case crazy mono decides to have it infinity
|
||||
}
|
||||
|
||||
ServicePointManager.Expect100Continue = false;
|
||||
ServicePointManager.UseNagleAlgorithm = false;
|
||||
|
||||
@@ -55,6 +55,7 @@ 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user