[System]: 'HttpWebRequest.Proxy' - update ServicePoint on assignment.
authorMartin Baulig <martin.baulig@xamarin.com>
Wed, 17 Feb 2016 23:11:31 +0000 (18:11 -0500)
committerMartin Baulig <martin.baulig@xamarin.com>
Thu, 18 Feb 2016 01:40:32 +0000 (20:40 -0500)
(cherry picked from commit 08e3a4120ca5dd315df1422c027228ee8729650c)

mcs/class/System/System.Net/HttpWebRequest.cs

index 8b90a5336b55c186b43c8e98adbc40511713b282..02688b1a8b670a2e8bc666aab13d0925d2f3b689 100644 (file)
@@ -593,6 +593,7 @@ namespace System.Net
                                CheckRequestStarted ();
                                proxy = value;
                                servicePoint = null; // we may need a new one
+                               GetServicePoint ();
                        }
                }