mail-archives/mono-bugs/2003-July/006147.html

118 строки
4.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 45870][Maj] New - OpenRead does not function correctly from ASPX page
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006146.html">
<LINK REL="Next" HREF="006148.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 45870][Maj] New - OpenRead does not function correctly from ASPX page
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 45870][Maj] New - OpenRead does not function correctly from ASPX page">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Sat, 5 Jul 2003 19:44:08 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006146.html">[Mono-bugs] [Bug 45658][Wis] Changed - XSP --&gt; &lt;asp:button&gt; code gets executed but postback loads invalid page
</A></li>
<LI> Next message: <A HREF="006148.html">[Mono-bugs] [Bug 45870][Maj] Changed - OpenRead does not function correctly from ASPX page
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6147">[ date ]</a>
<a href="thread.html#6147">[ thread ]</a>
<a href="subject.html#6147">[ subject ]</a>
<a href="author.html#6147">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:blackhawk@ivanhawkes.com.">blackhawk@ivanhawkes.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=45870">http://bugzilla.ximian.com/show_bug.cgi?id=45870</A>
--- shadow/45870 Sat Jul 5 19:44:08 2003
+++ shadow/45870.tmp.26489 Sat Jul 5 19:44:08 2003
@@ -0,0 +1,54 @@
+Bug#: 45870
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: System.Web
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:blackhawk@ivanhawkes.com">blackhawk@ivanhawkes.com</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: OpenRead does not function correctly from ASPX page
+
+Description of Problem:
+
+When using OpenRead to read an XSL file the read operation never returns.
+
+Steps to reproduce the problem:
+Dump this code into a simple standalone program and also an ASPX page in
+the Page_Load event.
+
+using System.Net;
+using System.IO;
+Console.WriteLine (&quot;Getting test file&quot;);
+Stream s = null;
+using (s) {
+ WebClient wc = new WebClient ();
+ s = wc.OpenRead (&quot;<A HREF="file:///home/ivan/christinahawkes/StyleSheets/news.xsl"">file:///home/ivan/christinahawkes/StyleSheets/news.xsl&quot;</A>);
+
+ wc.Dispose ();
+}
+Console.WriteLine (&quot;Got test file&quot;);
+
+
+Obviously the file to load should exist on your system, so change my file
+with one that you have available.
+
+Actual Results:
+In stand alone program you get the contents of the file returned. In ASPX
+you time-out and nothing is ever returned.
+
+Expected Results:
+The file contents should be returned.
+
+How often does this happen?
+Every time.
+
+Additional Information:
+Using mcs/mono from CVS checkout today.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006146.html">[Mono-bugs] [Bug 45658][Wis] Changed - XSP --&gt; &lt;asp:button&gt; code gets executed but postback loads invalid page
</A></li>
<LI> Next message: <A HREF="006148.html">[Mono-bugs] [Bug 45870][Maj] Changed - OpenRead does not function correctly from ASPX page
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6147">[ date ]</a>
<a href="thread.html#6147">[ thread ]</a>
<a href="subject.html#6147">[ subject ]</a>
<a href="author.html#6147">[ author ]</a>
</LI>
</UL>
</body></html>