[master] 9c9b9ff76 vsl: Bump SHMLOG marker for Log segments

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 6 14:27:06 UTC 2023

commit 9c9b9ff76e46fe84601c1c06a24b671fda6ff243
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 6 10:11:59 2023 +0100

    vsl: Bump SHMLOG marker for Log segments
    This means an older varnishlog can no longer read logs from a live
    current varnishd server, and vice versa. It used to be interesting
    to use a more modern VUT to process logs for example to get better
    performance or new features like generalized -E.

diff --git a/include/vsl_priv.h b/include/vsl_priv.h
index 7fd71b1ce..500aac584 100644
--- a/include/vsl_priv.h
+++ b/include/vsl_priv.h
@@ -58,7 +58,7 @@
 struct VSL_head {
-#define VSL_HEAD_MARKER		"VSLHEAD1"	/* Incr. as version# */
+#define VSL_HEAD_MARKER		"VSLHEAD2"	/* Incr. as version# */
 	char			marker[8];
 	ssize_t			segsize;
 	unsigned		segment_n;

More information about the varnish-commit mailing list