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_panic.c

    rd763ce r67a482  
    198198        VSB_printf(pan_vsp, "  worker = %p {\n", wrk); 
    199199        pan_ws(wrk->ws, 4); 
    200         if (wrk->bereq->ws != NULL) 
    201                 pan_http("bereq", wrk->bereq, 4); 
    202         if (wrk->beresp->ws != NULL) 
    203                 pan_http("beresp", wrk->beresp, 4); 
     200        if (wrk->busyobj != NULL && wrk->busyobj->bereq->ws != NULL) 
     201                pan_http("bereq", wrk->busyobj->bereq, 4); 
     202        if (wrk->busyobj != NULL && wrk->busyobj->beresp->ws != NULL) 
     203                pan_http("beresp", wrk->busyobj->beresp, 4); 
    204204        if (wrk->resp->ws != NULL) 
    205205                pan_http("resp", wrk->resp, 4); 
Note: See TracChangeset for help on using the changeset viewer.