[Mono-bugs] [Bug 76753][Wis] New - HttpResponse filter not flushed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 18 13:22:03 EST 2005


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 geir at bergum.info.

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

--- shadow/76753	2005-11-18 13:22:03.000000000 -0500
+++ shadow/76753.tmp.14380	2005-11-18 13:22:03.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 76753
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: geir at bergum.info               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HttpResponse filter not flushed
+
+Description of Problem:
+In System.Web/HttpResponseStream the ApplyFilter method does'nt flush the 
+filter before closeing it.
+
+Steps to reproduce the problem:
+1. At request start create a buffering stream.
+2. Attach this stream to HttpResponse.Filter.
+
+Actual Results:
+No output at request final flush.
+
+Expected Results:
+Output from buffering filter.
+
+How often does this happen? 
+Everytime.
+
+Additional Information:
+Bug introduced probably in 1.1.9.
+Patch to resolve:
+--- HttpResponseStream.cs.53240 2005-11-18 18:20:32.886716000 +0100
++++ HttpResponseStream.cs       2005-11-16 16:22:25.000000000 +0100
+@@ -464,6 +464,7 @@
+                                b.Dispose ();
+
+                        if (close) {
++                               filter.Flush();
+                                filter.Close ();
+                                filter = null;
+                        } else {


More information about the mono-bugs mailing list