Просмотр исходного кода

Fix ServicePointManager to accept the DefaultConnectionLimit property being
set as per the .NET spec.

Melanie Thielker 13 лет назад
Родитель
Сommit
9605c20c97
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      mcs/class/System/System.Net/ServicePointManager.cs

+ 2 - 0
mcs/class/System/System.Net/ServicePointManager.cs

@@ -187,6 +187,8 @@ namespace System.Net
 					throw new ArgumentOutOfRangeException ("value");
 
 				defaultConnectionLimit = value; 
+                if (manager != null)
+					manager.Add ("*", defaultConnectionLimit);
 			}
 		}