Skip to content

Commit

Permalink
Stack bereq.filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nigoroll committed Jan 31, 2024
1 parent 97c08cb commit 7929daf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/varnishd/http1/cache_http1_fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ V1F_SendReq(struct worker *wrk, struct busyobj *bo, uint64_t *ctr_hdrbytes,
cl = 0;

VDP_Init(vdc, wrk, bo->vsl);
if (bo->vdp_filter_list != NULL &&
VCL_StackVDP(vdc, bo->vcl, bo->vdp_filter_list, NULL, bo, &cl)) {
VSLb(bo->vsl, SLT_FetchError, "Failure to push processors");
VSLb_ts_busyobj(bo, "Bereq", W_TIM_real(wrk));
htc->doclose = SC_OVERLOAD;
return (-1);
}

if (v1f_stackv1l(vdc, bo, &cl)) {
VSLb(bo->vsl, SLT_FetchError, "Failure to push V1L");
Expand Down

0 comments on commit 7929daf

Please sign in to comment.