https://issues.apache.org/bugzilla/show_bug.cgi?id=51952

--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> 
2011-10-05 14:33:50 UTC ---
FWIW, the javadoc for javax.servlet.Filter specifically mentions "compression"
as a type of Filter one might want to build. Though not exactly part of the
spec, Tomcat should try it's best not to get in the way of building such
Filters.

Perhaps one way would be to re-write the patch for r1156533 to use OutputStream
instead of Writer.

Something I'm not getting is this:

Why is your code (say, org.apache.jsp.test_jsp._jspService(test_jsp.java:74))
running after a call to sendRedirect? Also, if *your* code calls
sendRedirect(), why isn't the request *already* wrapped in your compression
wrapper, so that calling sendRedirect which calls getWriter ends up calling
your wrapped-getWriter method?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to