[priv_copy] 0ffe142b1 SQUASHME: reset privs_copy for rollback

Nils Goroll nils.goroll at uplex.de
Thu Nov 5 14:50:08 UTC 2020


commit 0ffe142b1a2b707d87f7ca7c41f80c1d1f56a4e2
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Nov 5 15:49:51 2020 +0100

    SQUASHME: reset privs_copy for rollback

diff --git a/bin/varnishd/cache/cache_req.c b/bin/varnishd/cache/cache_req.c
index 2de283512..ca56a30a3 100644
--- a/bin/varnishd/cache/cache_req.c
+++ b/bin/varnishd/cache/cache_req.c
@@ -196,6 +196,7 @@ Req_Rollback(struct req *req)
 		VCL_TaskLeave(req->top->privs);
 	VCL_TaskLeave(req->privs);
 	VCL_TaskEnter(req->privs);
+	req->privs_copy = NULL;
 	if (IS_TOPREQ(req))
 		VCL_TaskEnter(req->top->privs);
 	HTTP_Clone(req->http, req->http0);


More information about the varnish-commit mailing list