oops
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 14 Apr 2005 23:03:31 +0000 (23:03 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 14 Apr 2005 23:03:31 +0000 (23:03 -0000)
svn path=/trunk/mcs/; revision=43017

mcs/class/System/System.Net/WebConnectionStream.cs

index 1c433a4c7ab7d3a36286935b7759be8275d2e992..892554126b3f838c2a1f75ccf3308775bf742230 100644 (file)
@@ -299,6 +299,8 @@ namespace System.Net
                                return (xx >= 0) ? xx : 0;
                        }
 
+                       result.EndReadCalled = true;
+
                        if (!result.IsCompleted) {
                                int nbytes = cnc.EndRead (result);
                                bool finished = (nbytes == -1);