Changeset 571 for trunk/xcache.c


Ignore:
Timestamp:
2008-08-29T05:30:31+02:00 (7 years ago)
Author:
Xuefer
Message:

check for file size to be consistent

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.