[Mono-bugs] [Bug 45870][Maj] Changed - WebClient.OpenRead freezes when called from System.Web

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 15 Oct 2003 20:14:13 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=45870

--- shadow/45870	2003-07-20 10:25:59.000000000 -0400
+++ shadow/45870.tmp.23786	2003-10-15 20:14:13.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 45870
 Product: Mono/Runtime
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Major
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: blackhawk@ivanhawkes.com               
 QAContact: mono-bugs@ximian.com
@@ -105,6 +105,33 @@
 Can you try to create an async method and call it the same way 
 WebClient does, and see what happens?
 
 ------- Additional Comments From gonzalo@ximian.com  2003-07-11 16:07 -------
 See the trace in 45694. This looks like a problem in the threadpool...
 I just changed the product to put this in the runtime guys' radar.
+
+------- Additional Comments From bmaurer@users.sf.net  2003-10-15 20:14 -------
+This is working in CVS right now
+
+My test case is:
+
+<%@ language="C#" %>
+<%@ import namespace="System.Net" %>
+<%@ import namespace="System.IO" %>
+
+<html>
+<script runat=server>
+	void Page_Load (object sender, EventArgs e)
+	{
+		Console.WriteLine ("Getting test file");
+		Stream s = null;
+		using (s) {
+			WebClient wc = new WebClient ();
+			s = wc.OpenRead ("file:///usr/share/dict/words");
+		
+			wc.Dispose ();
+		}
+		Console.WriteLine ("Got test file");
+	}
+
+</script>
+