Ignore:
Timestamp:
2011-12-07 11:30:44 (2 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
367c381
Parents:
f483dd
git-author:
Poul-Henning Kamp <phk@…> (2011-12-07 11:30:44)
git-committer:
Poul-Henning Kamp <phk@…> (2011-12-07 11:30:44)
Message:

Move beresp and bereq to busyobj, but leave the memory allocation in
worker for now.

File:
1 edited

Legend:

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

    ra2921d r67a482  
    7474        expp = &sp->wrk->busyobj->exp; 
    7575 
    76         hp = sp->wrk->beresp; 
     76        hp = sp->wrk->busyobj->beresp; 
    7777 
    7878        assert(expp->entered != 0.0 && !isnan(expp->entered)); 
     
    184184        char *b; 
    185185 
    186         hp = sp->wrk->beresp; 
     186        hp = sp->wrk->busyobj->beresp; 
    187187 
    188188        if (hp->protover < 11 && !http_HdrIs(hp, H_Connection, "keep-alive")) 
     
    193193                sp->wrk->busyobj->should_close = 0; 
    194194 
    195         if (!strcasecmp(http_GetReq(sp->wrk->bereq), "head")) { 
     195        if (!strcasecmp(http_GetReq(sp->wrk->busyobj->bereq), "head")) { 
    196196                /* 
    197197                 * A HEAD request can never have a body in the reply, 
Note: See TracChangeset for help on using the changeset viewer.