fixed cache-control value
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@817 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.8
parent
c3f45ae6dd
commit
6fcfa114f1
|
@ -304,12 +304,12 @@ URIHANDLER_FUNC(mod_expire_path_handler) {
|
|||
switch(mod_expire_get_offset(srv, p, ds->value, &ts)) {
|
||||
case 0:
|
||||
/* access */
|
||||
t = (ts += srv->cur_ts);
|
||||
t = (ts + srv->cur_ts);
|
||||
break;
|
||||
case 1:
|
||||
/* modification */
|
||||
|
||||
t = (ts += sce->st.st_mtime);
|
||||
t = (ts + sce->st.st_mtime);
|
||||
break;
|
||||
default:
|
||||
/* -1 is handled at parse-time */
|
||||
|
|
Loading…
Reference in New Issue