Changeset 40575c


Ignore:
Timestamp:
2011-08-30 08:37:06 (3 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
863c22, 8488a8
Parents:
204198
git-author:
Poul-Henning Kamp <phk@…> (2011-08-30 08:37:06)
git-committer:
Poul-Henning Kamp <phk@…> (2011-08-30 08:37:06)
Message:

Reintroduce ExpKill? VSL records.

Fixes #946

Patch by scoof

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache_expire.c

    raf353a r40575c  
    339339        struct lru *lru; 
    340340        double t; 
     341        struct object *o; 
    341342 
    342343        (void)priv; 
     
    402403 
    403404                CHECK_OBJ_NOTNULL(oc->objhead, OBJHEAD_MAGIC); 
     405                o = oc_getobj(sp->wrk, oc); 
     406                WSL(sp->wrk, SLT_ExpKill, 0, "%u %.0f", 
     407                    o->xid, EXP_Ttl(NULL, o) - t); 
    404408                (void)HSH_Deref(sp->wrk, oc, NULL); 
    405409        } 
Note: See TracChangeset for help on using the changeset viewer.