tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54087] HTTP Connector incorrectly throws Exception on Invalid If-Modified-Since Header
Date Mon, 12 Nov 2012 09:12:10 GMT

Konstantin Kolinko <> changed:

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

--- Comment #2 from Konstantin Kolinko <> ---
(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

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

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