https://bz.apache.org/bugzilla/show_bug.cgi?id=64616
Bug ID: 64616
Summary: Change ETag format to Nginx like
Product: Tomcat 10
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
Currently Tomcat 9 generates ETag like W/"1047-1578315296666" i.e.
Weak"Size-MTime in Milliseconds".
This is incorrect ETag because it should be strong as for a static file i.e.
octal compatibility.
Also to make ETag working for load balancing between Tomcat and Nginx we need
to change format to "hex(MTime in seconds)-hex(Size)" e.g. "5e132e20-417".
Nginx is not configurable but ether Tomcat is not. In the same time Nginx is
more widely used while Tomcat returns incorrect ETag.
See the W3C discussion for details
https://lists.w3.org/Archives/Public/ietf-http-wg/2020JulSep/0041.html
I created a PR with the fix https://github.com/apache/tomcat/pull/324
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]