Changeset 571

Show
Ignore:
Timestamp:
08/29/2008 03:30:31 AM (3 months ago)
Author:
moo
Message:

check for file size to be consistent

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r570 r571  
    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);