[Mono-bugs] [Bug 48497][Maj] New - Threading Error While Processing Asynchronous WebRequests
Mon, 15 Sep 2003 16:48:46 -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 email@example.com.
--- shadow/48497 2003-09-15 16:48:46.000000000 -0400
+++ shadow/48497.tmp.15205 2003-09-15 16:48:46.000000000 -0400
@@ -0,0 +1,57 @@
+OS Details: Red Hat 8 - Mono 0.26
+Summary: Threading Error While Processing Asynchronous WebRequests
+Please fill in this template when reporting a bug, unless you know what you
+Description of Problem:
+Here is the description of exactly what I am trying to do, complete with
+the exact C# source code I am running (and that is failing):
+Steps to reproduce the problem:
+1. Run the MSDN sample code
+The AsycCallback() delegates control to the ReadCallback() method. The
+ReadCallback() method reads 1024 bytes from the stream, processes it, and
+then instantiates the AsyncCallback delegate again. The second call fails,
+the Stream is never processed, and the program hangs, because the allDone
+flag is never set, so the program cannot exit.
+The second call to the AsyncCallback delegate should continue processing
+more of the Stream, repeating the process until the end of the stream is
+How often does this happen?
+Every time the program is run.
+The code is sample code from the MSDN site as an example of making
+asynchronous web requests. There appears to be a bug in the Mono threading