Author: spouliot
Date: 2006-09-11 18:56:49 -0400 (Mon, 11 Sep 2006)
New Revision: 65260

Modified:
   trunk/mcs/class/System/System.Net/ChangeLog
   trunk/mcs/class/System/System.Net/WebConnection.cs
Log:
2006-09-11  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * WebConnection.cs: Patch to remove the hack that was required for 
        using the older versions of the SSL/TLS classes. This hack is no more
        required :-). Patch by Gonzalo Paniagua Javier.



Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2006-09-11 22:53:35 UTC (rev 
65259)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2006-09-11 22:56:49 UTC (rev 
65260)
@@ -1,3 +1,9 @@
+2006-09-11  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * WebConnection.cs: Patch to remove the hack that was required for 
+       using the older versions of the SSL/TLS classes. This hack is no more
+       required :-). Patch by Gonzalo Paniagua Javier.
+
 2006-08-30 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * HttpConnection.cs: when the content length is available, keep it

Modified: trunk/mcs/class/System/System.Net/WebConnection.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebConnection.cs  2006-09-11 22:53:35 UTC 
(rev 65259)
+++ trunk/mcs/class/System/System.Net/WebConnection.cs  2006-09-11 22:56:49 UTC 
(rev 65260)
@@ -425,22 +425,9 @@
                        certsAvailable = (server != null);
                }
 
-               delegate void MyDelegate (object o);
-
                internal static void InitRead (object state)
                {
                        WebConnection cnc = (WebConnection) state;
-                       if (!cnc.ssl) {
-                               InitRead2 (state);
-                       } else {
-                               MyDelegate d = new MyDelegate (InitRead2);      
        
-                               d.BeginInvoke (state, null, null);
-                       }
-               }
-
-               static void InitRead2 (object state)
-               {
-                       WebConnection cnc = (WebConnection) state;
                        Stream ns = cnc.nstream;
 
                        try {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to