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 PROTECTED]

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

--- shadow/76460        2005-10-17 05:41:17.000000000 -0400
+++ shadow/76460.tmp.15701      2005-10-17 05:41:17.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 76460
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET crash with > ~ 120 Ko Reponse
+
+I want to send a byte[] of a size > 120kb to the client:
+this code cause a segfault to xsp :
+
+private void MyButton_Click(object sender,EventArgs e)
+{
+int length=120000;
+byte[] buffer=new byte[length];
+Response.ClearHeaders();
+Response.Clear();
+Response.AddHeader("Content-Disposition","attachment;
+filename=\""+"essai"+"\"");
+Response.AppendHeader("Content-Length",length.ToString());
+Response.StatusCode = 200;
+Response.OutputStream.Write(buffer,0,length);
+Response.End();
+Response.Flush();
+}
+
[EMAIL PROTECTED] /home/monoapp/WebApplication1 $ xsp
+xsp
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /home/monoapp/WebApplication1
+Hit Return to stop the server.
+Erreur de segmentation
+
+I'm working on mono from today's svn's revision... on a x86 (PIV) on Linux
+(2.6.13, but it fails to with another linux 2.6.10)
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to