[master] 41f53eaf5 Our SunCC is too old.
Nils Goroll
nils.goroll at uplex.de
Thu Oct 31 13:57:05 UTC 2024
commit 41f53eaf53630cc7feed3e4228529f2ef897e6dc
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Oct 31 14:55:35 2024 +0100
Our SunCC is too old.
Someone(tm) needs to upgrade it seems...
diff --git a/bin/varnishd/http1/cache_http1_fetch.c b/bin/varnishd/http1/cache_http1_fetch.c
index 474175ce0..bf05b0e14 100644
--- a/bin/varnishd/http1/cache_http1_fetch.c
+++ b/bin/varnishd/http1/cache_http1_fetch.c
@@ -69,7 +69,7 @@ V1F_SendReq(struct worker *wrk, struct busyobj *bo, uint64_t *ctr_hdrbytes,
ssize_t i;
uint64_t bytes, hdrbytes;
struct http_conn *htc;
- struct vdp_ctx vdc[1] = {{ 0 }};
+ struct vdp_ctx vdc[1];
intmax_t cl;
const char *err = NULL;
@@ -96,6 +96,7 @@ V1F_SendReq(struct worker *wrk, struct busyobj *bo, uint64_t *ctr_hdrbytes,
else
cl = 0;
+ vdc->magic = 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))
More information about the varnish-commit
mailing list