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


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #5 from Mark Thomas <ma...@apache.org>  2009-02-03 22:47:57 PST ---
This is a bit of a grey area but given that:
 - attributes may be set by the container (SRV.3.2)
 - there is generally no need to remove attributes
(ServletRequest.removeAttribute javadoc)
 - some attributes are explicitly reserved for use by Sun
it is clear that request attributes may be set outside of the application's
control. Therefore, removing all request attributes is likely to have
unexpected side effects as seen here.

Given the above, it is good practise for components to only attempt to
manipulate the request attributes that they own. On this basis I am marking the
bug as WONTFIX.

As Konstatin notes, disabling sendfile support should fix this as would
changing the listener not to remove all request attributes. If neither of these
is possible, then using a custom default servlet with an added call to
flushBuffer() should work. If you need assistance writing or configuring your
own version of Tomcat's default servlet please ask on the users list.


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