mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
remember mono about the default for DnsRefreshTimeout
This commit is contained in:
@@ -77,7 +77,10 @@ namespace OpenSim
|
|||||||
if(Util.IsWindows())
|
if(Util.IsWindows())
|
||||||
ServicePointManager.DefaultConnectionLimit = 32;
|
ServicePointManager.DefaultConnectionLimit = 32;
|
||||||
else
|
else
|
||||||
|
{
|
||||||
ServicePointManager.DefaultConnectionLimit = 12;
|
ServicePointManager.DefaultConnectionLimit = 12;
|
||||||
|
ServicePointManager.DnsRefreshTimeout = 120000; // just is case crazy mono decides to have it infinity
|
||||||
|
}
|
||||||
|
|
||||||
ServicePointManager.Expect100Continue = false;
|
ServicePointManager.Expect100Continue = false;
|
||||||
ServicePointManager.UseNagleAlgorithm = false;
|
ServicePointManager.UseNagleAlgorithm = false;
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ namespace OpenSim.Server
|
|||||||
public static int Main(string[] args)
|
public static int Main(string[] args)
|
||||||
{
|
{
|
||||||
ServicePointManager.DefaultConnectionLimit = 64;
|
ServicePointManager.DefaultConnectionLimit = 64;
|
||||||
|
ServicePointManager.DnsRefreshTimeout = 120000; // just is case mono decides to have it infinity
|
||||||
ServicePointManager.Expect100Continue = false;
|
ServicePointManager.Expect100Continue = false;
|
||||||
ServicePointManager.UseNagleAlgorithm = false;
|
ServicePointManager.UseNagleAlgorithm = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user