]> granicus.if.org Git - apache/commit
Fix for PR 14556. The expiry calculations in mod_cache were
authorPaul J. Reder <rederpj@apache.org>
Thu, 21 Nov 2002 21:52:47 +0000 (21:52 +0000)
committerPaul J. Reder <rederpj@apache.org>
Thu, 21 Nov 2002 21:52:47 +0000 (21:52 +0000)
commitecb3aaaa8353f7bccc08c40cc9fa684f452a1a60
tree2f0b1fed8058aa54f638f6c7c88311a59f3b134c
parente4b5584f81f9f4467ff2a01e64dbdbd6d3991f6e
Fix for PR 14556. The expiry calculations in mod_cache were
trying to perform "now + ((date - lastmod) * factor)" where
date == lastmod resulting in "now + 0". The code now follows
the else path (using the default expiration) if date is
equal to lastmod. [rx@armstrike.com (Sergey), Paul J. Reder]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97589 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/experimental/mod_cache.c