Changeset 7293c3f in git


Ignore:
Timestamp:
2008-08-29T03:30:31Z (12 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
196ad10
Parents:
f39afa9
Message:

check for file size to be consistent

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@571 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    rf39afa9 r7293c3f  
    293293    for (p = xce->cache->entries[xce->hvalue]; p; p = p->next) {
    294294        if (xc_entry_equal_dmz(xce, p)) {
    295             if (p->type == XC_TYPE_VAR || /* PHP */ p->mtime == xce->mtime) {
     295            if (p->type == XC_TYPE_VAR || /* PHP */ p->size == xce->size && p->mtime == xce->mtime) {
    296296                p->hits ++;
    297297                p->atime = XG(request_time);
Note: See TracChangeset for help on using the changeset viewer.