[master] b662a8894 Revert "Our SunCC is too old."

Nils Goroll nils.goroll at uplex.de
Thu Oct 31 14:12:04 UTC 2024


commit b662a88948384d81f048c2360e6fef2f6d56fd07
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Oct 31 15:10:21 2024 +0100

    Revert "Our SunCC is too old."
    
    Sorry, I was looking at the wrong place. It seems the errors reported by suncc
    are rather related to a recent global zone update.
    
    This reverts commit 41f53eaf53630cc7feed3e4228529f2ef897e6dc.

diff --git a/bin/varnishd/http1/cache_http1_fetch.c b/bin/varnishd/http1/cache_http1_fetch.c
index bf05b0e14..474175ce0 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];
+	struct vdp_ctx vdc[1] = {{ 0 }};
 	intmax_t cl;
 	const char *err = NULL;
 
@@ -96,7 +96,6 @@ 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