]> granicus.if.org Git - apache/commit
Fix a bug in mod_expires. Previous to this patch, if you
authorRyan Bloom <rbb@apache.org>
Fri, 10 Aug 2001 05:29:09 +0000 (05:29 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 10 Aug 2001 05:29:09 +0000 (05:29 +0000)
commit3ce46654957763f62e3a462a6be487cc52e0989d
tree36800599b8fe9dbb973645151e07e01992a45592
parent2642621667e2dbb5b515ccb84fc3749df9e5e7e6
Fix a bug in mod_expires.  Previous to this patch, if you
told mod_expires to add 604800 seconds to the last-modified
time, it actually added 604800 usec's to the last-modified time,
so that when looking at the response it looked like nothing
had been done.  The root of the problem was that we always compute
time in usec's, but we ask users to input sec's.  This means we
need to convert to usec's before using those values.
CS: Obtained from:

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