remember mono about the default for DnsRefreshTimeout

0.9.0-post-fixes
UbitUmarov 2017-05-23 00:10:11 +01:00
parent 24885819fc
commit c080d9fa23
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;