Ignore:
Timestamp:
2011-12-23 13:15:35 (2 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
3abbb1
Parents:
9173a98
git-author:
Poul-Henning Kamp <phk@…> (2011-12-23 13:15:35)
git-committer:
Poul-Henning Kamp <phk@…> (2011-12-23 13:15:35)
Message:

Move another 144 bytes from sess to req

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache/cache_esi_deliver.c

    r9173a98 r097e64  
    5353        w = sp->wrk; 
    5454 
    55         if (sp->esi_level >= cache_param->max_esi_depth) 
     55        if (sp->req->esi_level >= cache_param->max_esi_depth) 
    5656                return; 
    57         sp->esi_level++; 
     57        sp->req->esi_level++; 
    5858 
    5959        (void)WRW_FlushRelease(w); 
     
    106106        AN(sp->wrk); 
    107107        assert(sp->step == STP_DONE); 
    108         sp->esi_level--; 
     108        sp->req->esi_level--; 
    109109        sp->wrk->obj = obj; 
    110110        sp->wrk->res_mode = res_mode; 
     
    248248        } 
    249249 
    250         if (sp->esi_level == 0) { 
     250        if (sp->req->esi_level == 0) { 
    251251                /* 
    252252                 * Only the top level document gets to decide this. 
     
    404404                (void)VGZ_Destroy(&vgz, sp->vsl_id); 
    405405        } 
    406         if (sp->wrk->gzip_resp && sp->esi_level == 0) { 
     406        if (sp->wrk->gzip_resp && sp->req->esi_level == 0) { 
    407407                /* Emit a gzip literal block with finish bit set */ 
    408408                tailbuf[0] = 0x01; 
Note: See TracChangeset for help on using the changeset viewer.