Bug 55573

Summary: FileETag needs MTimeSeconds, MTime with granularity of 1 second
Product: Apache httpd-2 Reporter: Alain Williams <addw>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.4.6   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description Alain Williams 2013-09-19 21:15:50 UTC
MTime will generate a time with micosecond accuracy if the file system supports it. This can cause problems of coherence between machines where the copy mechanism is not more accurate than 1 second.

This could be fixed if FileETag had an option MTimeSeconds that produced MTime with a 1 second granularity.

The fix is not hard and would involve a few lines in:

ap_make_etag() in http_etag.c

set_etag_bits() in core.c