Browse Source

cacher: disable mtime-age when xcache.test is on

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@202 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent
commit
07ae7b3e37
  1. 2
      xcache.c

2
xcache.c

@ -725,7 +725,7 @@ not_relative_path:
/* fall */
stat_done:
if (XG(request_time) - pbuf->st_mtime < 2) {
if (XG(request_time) - pbuf->st_mtime < 2 && !xc_test) {
return 0;
}

Loading…
Cancel
Save