DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42503





------- Additional Comments From [EMAIL PROTECTED]  2007-05-23 17:00 -------
Created an attachment (id=20265)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20265&action=view)
Patch that updates the last modified time of the file when it is inserted into
the cache

The problem occurs because the last modified timestamp in the
FileResourceAttribute of CacheEntry isn't updated at the time the CacheEntry is
first inserted into the cache. The timestamp gets updated when
ProxyDirContext.revalidate() is executed. The window between when the
CacheEntry was inserted and when ProxyDirContext.revalidate() is called is
where the problem occurs.

The attached patch fixes this by updating the last modified (and creation)
timestamp at the time the resource is created (i.e. inserted into the cache). 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to