Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
If we have a vcl on req0, recache it, it's almost certain to be vcl_a…
…ctive.
  • Loading branch information
bsdphk committed May 5, 2021
1 parent f195de9 commit e3a6652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/varnishd/cache/cache_req_fsm.c
Expand Up @@ -1157,7 +1157,7 @@ CNT_Request(struct req *req)
if (IS_TOPREQ(req)) {
VCL_TaskLeave(ctx, req->top->privs);
if (req->top->vcl0 != NULL)
VCL_Rel(&req->top->vcl0);
VCL_Recache(wrk, &req->top->vcl0);
}
VCL_TaskLeave(ctx, req->privs);
AN(req->vsl->wid);
Expand Down

0 comments on commit e3a6652

Please sign in to comment.