remember mono about the default for DnsRefreshTimeout
parent
24885819fc
commit
c080d9fa23
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue