[master] 9843d650a Copy VEXT's in earlier so -C can also see them.

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 1 11:07:08 UTC 2022


commit 9843d650abb478c4f43b0f4c9c9b4dcb76e73c4a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 1 11:04:31 2022 +0000

    Copy VEXT's in earlier so -C can also see them.

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index c0bd55914..a335ce645 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -856,6 +856,8 @@ main(int argc, char * const *argv)
 
 	mgt_vcl_init();
 
+	vext_copyin(vident);
+
 	u = 0;
 	VTAILQ_FOREACH(alp, &arglist, list) {
 		if (!strcmp(alp->arg, "f") && alp->priv != NULL)
@@ -896,8 +898,6 @@ main(int argc, char * const *argv)
 			VPF_Write(alp->priv);
 	}
 
-	vext_copyin(vident);
-
 	AZ(VSB_finish(vident));
 
 	if (S_arg == NULL)


More information about the varnish-commit mailing list