mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
reduce ServicePointManager.DefaultConnectionLimit back 12 for os other than windows
This commit is contained in:
@@ -77,12 +77,12 @@ namespace OpenSim
|
||||
Culture.SetCurrentCulture();
|
||||
Culture.SetDefaultCurrentCulture();
|
||||
|
||||
//if(Util.IsWindows())
|
||||
if(Util.IsWindows())
|
||||
ServicePointManager.DefaultConnectionLimit = 32;
|
||||
//else
|
||||
//{
|
||||
// ServicePointManager.DefaultConnectionLimit = 32;
|
||||
//}
|
||||
else
|
||||
{
|
||||
ServicePointManager.DefaultConnectionLimit = 12;
|
||||
}
|
||||
|
||||
try { ServicePointManager.DnsRefreshTimeout = 5000; } catch { }
|
||||
ServicePointManager.Expect100Continue = false;
|
||||
|
||||
Reference in New Issue
Block a user