]> 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)
commitb25a934e309c8b12fbdf90188c972df7ad862e54
tree2f0b1fed8058aa54f638f6c7c88311a59f3b134c
parent55566a3f7ea2bc3e3ebc98273ea77f14343a7119
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