[master] 53b078013 vsm: Missing VSM_WRK_CHANGED flag
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Jun 10 13:42:07 UTC 2024
commit 53b078013437343bfca66c5f4c6647ce35274ac1
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri Jun 7 16:01:13 2024 +0200
vsm: Missing VSM_WRK_CHANGED flag
This was probably a copy-pasta accident of the previous line. It cannot
be tested with an instrumented "varnish v1" type of varnishd instance,
because it's not supposed to ever stop the MGT process once started.
diff --git a/lib/libvarnishapi/vsm.c b/lib/libvarnishapi/vsm.c
index 5226bf828..88426e538 100644
--- a/lib/libvarnishapi/vsm.c
+++ b/lib/libvarnishapi/vsm.c
@@ -732,7 +732,7 @@ VSM_Status(struct vsm *vd)
/* Open workdir */
if (vd->wdfd < 0) {
retval |= VSM_MGT_RESTARTED | VSM_MGT_CHANGED;
- retval |= VSM_WRK_RESTARTED | VSM_MGT_CHANGED;
+ retval |= VSM_WRK_RESTARTED | VSM_WRK_CHANGED;
vd->wdfd = open(vd->wdname, O_RDONLY);
if (vd->wdfd < 0)
(void)vsm_diag(vd,
More information about the varnish-commit
mailing list