tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46586] impossible download a jar with this webapp
Date Wed, 04 Feb 2009 06:47:59 GMT

Mark Thomas <> changed:

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

--- Comment #5 from Mark Thomas <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message