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

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to comment #1)
> 
> When processing the If-Modified-Since header in the DefaultServlet, Tomcat
> does follow RFC2616-14.25.a and effectively ignores the header.
> 

I am REOPENing this. The DefaultServlet is OK and has the necessary try/catches
around getDateHeader() calls.

The problem is in javax.servlet.http.HttpServlet#service() where a try/catch is
missing.

I see two options: a) ignore the invalid header, like it is done by
DefaultServlet, b) silently fail with error 400. Failing with error 500 isn't
good.

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