Konstantin,
Ok, so I see now why you added the flushBuffer() from spec:
http://java.sun.com/javaee/6/docs/api/javax/servlet/http/HttpServletResponse.html#sendRedirect%28java.lang.String%29
"Sends a temporary redirect response to the client using the specified
redirect location URL and clears the buffer."
Its just we have been running Tomcat, for 5 years and we have lots of
code that relied on the fact that sendRedirect did not flush the buffer.
I will drop it, but going to be a while before we can go to 7.0.21.
Jacob
On 09/27/2011 02:32 PM, Jacob Champlin wrote:
Konstantin,
I believe the new flushBuffer() call you added to Response.java
sendRedirect() line #1340. Is breaking all ServletFilters but sending
buy flushing the response before filters have a chance to modify the
response.
Jacob
On 09/27/2011 10:35 AM, Jacob Champlin wrote:
Last night we went to 7.0.21, and this morning I had to roll it back
because very randomly redirects were failing. It was very much like all
parameters to the redirect were lost.
I am still trying to debug this, but its clear its not happening in
7.0.20, which leads me to believe its:
41718: Include a response body when sending a redirect. (markt)
or one of the AJP changes.
We are running Apache 2.2.21 with mod_ajp.
Our servlet framework is Stripes MVC and it seems to conform to the
requirement in 41718.
Is anyone else having this issue?
Thank you,
Jacob Champlin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org