Fix ServicePointManager to accept the DefaultConnectionLimit property being
authorMelanie Thielker <melanie@t-data.com>
Sun, 30 Sep 2012 14:50:21 +0000 (16:50 +0200)
committerMelanie Thielker <melanie@t-data.com>
Sun, 30 Sep 2012 16:46:38 +0000 (18:46 +0200)
set as per the .NET spec.

mcs/class/System/System.Net/ServicePointManager.cs

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