You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2011/12/09 03:21:38 UTC

svn commit: r1212223 - /thrift/trunk/lib/csharp/src/Transport/THttpClient.cs

Author: jfarrell
Date: Fri Dec  9 02:21:37 2011
New Revision: 1212223

URL: http://svn.apache.org/viewvc?rev=1212223&view=rev
Log:
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' 


Modified:
    thrift/trunk/lib/csharp/src/Transport/THttpClient.cs

Modified: thrift/trunk/lib/csharp/src/Transport/THttpClient.cs
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/csharp/src/Transport/THttpClient.cs?rev=1212223&r1=1212222&r2=1212223&view=diff
==============================================================================
--- thrift/trunk/lib/csharp/src/Transport/THttpClient.cs (original)
+++ thrift/trunk/lib/csharp/src/Transport/THttpClient.cs Fri Dec  9 02:21:37 2011
@@ -189,7 +189,9 @@ namespace Thrift.Transport
 #endif
 			}
 
+#if !SILVERLIGHT
 			connection.Proxy = null;
+#endif
 
             return connection;
 		}