Author: gonzalo
Date: 2005-04-14 19:03:31 -0400 (Thu, 14 Apr 2005)
New Revision: 43017

Modified:
   trunk/mcs/class/System/System.Net/WebConnectionStream.cs
Log:
oops

Modified: trunk/mcs/class/System/System.Net/WebConnectionStream.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebConnectionStream.cs    2005-04-14 
22:40:16 UTC (rev 43016)
+++ trunk/mcs/class/System/System.Net/WebConnectionStream.cs    2005-04-14 
23:03:31 UTC (rev 43017)
@@ -299,6 +299,8 @@
                                return (xx >= 0) ? xx : 0;
                        }
 
+                       result.EndReadCalled = true;
+
                        if (!result.IsCompleted) {
                                int nbytes = cnc.EndRead (result);
                                bool finished = (nbytes == -1);

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

Reply via email to