[master] a54e2f805 Stack bereq.filters
Nils Goroll
nils.goroll at uplex.de
Mon Sep 30 14:19:07 UTC 2024
commit a54e2f80597bcec727028d85837d38c3d925b0a5
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Dec 28 10:51:10 2023 +0100
Stack bereq.filters
diff --git a/bin/varnishd/http1/cache_http1_fetch.c b/bin/varnishd/http1/cache_http1_fetch.c
index d2859e930..e814a7ab7 100644
--- a/bin/varnishd/http1/cache_http1_fetch.c
+++ b/bin/varnishd/http1/cache_http1_fetch.c
@@ -96,7 +96,13 @@ V1F_SendReq(struct worker *wrk, struct busyobj *bo, uint64_t *ctr_hdrbytes,
cl = 0;
VDP_Init(vdc, wrk, bo->vsl, NULL, bo, &cl);
-
+ if (bo->vdp_filter_list != NULL &&
+ VCL_StackVDP(vdc, bo->vcl, bo->vdp_filter_list, NULL, bo)) {
+ 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)) {
VSLb(bo->vsl, SLT_FetchError, "Failure to push V1L");
VSLb_ts_busyobj(bo, "Bereq", W_TIM_real(wrk));
More information about the varnish-commit
mailing list