[Mono-bugs] [Bug 76190][Wis] New - Unable to attach a Stream to HttpResponse.Filter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 07:01:45 EDT 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 ximian_bugzilla at davekelly.me.uk.

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

--- shadow/76190	2005-09-22 07:01:45.000000000 -0400
+++ shadow/76190.tmp.860	2005-09-22 07:01:45.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 76190
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Fedora Core 3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: ximian_bugzilla at davekelly.me.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Unable to attach a Stream to HttpResponse.Filter
+
+Description of Problem:
+I've been using an IHttpModule that ties to AuthorizeRequest and uses
+ICSharpCode.SharpZipLib to compress the output of my web app. Since
+updating to mono 1.1.9 it has stopped working. Apparently setting a strem
+to the HttpResponse.Filter it is unsupported anymore!
+
+Steps to reproduce the problem:
+1. Just try to use Response.Filter from an HttpModule. eg:
+HttpApplication.Response.Filter = [a filter];
+
+Actual Results:
+System.NotImplementedException: The requested feature is not implemented.
+in <0x0001d> System.Web.HttpResponse:get_Filter ()
+in <0x00083> [my_namespace].HttpCompressionModule:CompressContent
+(System.Object sender, System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x0045c> System.Web.HttpApplication+<RunHooks>__0:MoveNext ()
+
+Expected Results:
+The filter should compress the output (or do whatever it is meant to do).
+
+How often does this happen? 
+Always.
+
+Additional Information:
+The Compression Module I am using can be found at:
+http://www.blowery.org/code/HttpCompressionModule.html
+However, I am assuming at this point (because of the type of the error)
+that this would happen for the simplest of filters. I shall try to get a
+simple test case posted when I can, but you may be able to solve it without.


More information about the mono-bugs mailing list