From: Jake Farrell Date: Fri, 9 Dec 2011 02:21:37 +0000 (+0000) Subject: Thrift-1456: System.Net.HttpWebRequest' does not contain a definition for 'Proxy' X-Git-Tag: 0.9.1~503 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=12ac2acfaf3532eb200f499e528dec04931f67ed;p=common%2Fthrift.git Thrift-1456: System.Net.HttpWebRequest' does not contain a definition for 'Proxy' Client: delphi Patch: Jens Geyer Fix for Silverlight 'System.Net.HttpWebRequest' does not contain a definition for 'Proxy' git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212223 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/csharp/src/Transport/THttpClient.cs b/lib/csharp/src/Transport/THttpClient.cs index 768b64e1..717907c5 100644 --- a/lib/csharp/src/Transport/THttpClient.cs +++ b/lib/csharp/src/Transport/THttpClient.cs @@ -189,7 +189,9 @@ namespace Thrift.Transport #endif } +#if !SILVERLIGHT connection.Proxy = null; +#endif return connection; }