[Mono-bugs] [Bug 45870][Maj] Changed - WebClient.OpenRead freezes when called from System.Web
Fri, 11 Jul 2003 09:11:54 -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/45870 Fri Jul 11 09:01:20 2003
+++ shadow/45870.tmp.15157 Fri Jul 11 09:11:54 2003
@@ -66,6 +66,37 @@
It would be nice if we could find a work around, especially for XML.
------- Additional Comments From firstname.lastname@example.org 2003-07-11 09:01 -------
I just tried this from an IHttpHandler, and it freezes just the same.
So this is *not* aspx, but System.Web.
+------- Additional Comments From email@example.com 2003-07-11 09:11 -------
+After a mammoth debugging session with nothing but trusty olf
+WriteLine at my
+side I have some final and useful info on why the file reads are
+FileWebRequest.cs inside the method:
+public override IAsyncResult BeginGetResponse (AsyncCallback callback,
+there is a statement that is meant to be executed asynchronously with
+of the code. i.e.
+return c.BeginInvoke (callback, state);
+This should run the GetResponseInternal () function asynchronously and
+an IAsyncResult to sync with. It is this function that is attempting
+the file. Sadly, the thread doesn't seem to launch (or whatever is
+happen), the function doesn't start to execute until *after* the
+occurred, and so the file is never returned.
+Hopefully someone familiar with the insides of Mono can cast some
+bug fixes on this one ;->