[master] b456f69 vef_priv can fit on 64 bytes

Guillaume Quintard guillaume at varnish-software.com
Mon Nov 23 14:04:27 CET 2015


commit b456f691acb814cd672a0ab7dfb05b4d0cc01e59
Author: Guillaume Quintard <guillaume.quintard at gmail.com>
Date:   Mon Mar 16 12:04:16 2015 +0100

    vef_priv can fit on 64 bytes

diff --git a/bin/varnishd/cache/cache_esi_fetch.c b/bin/varnishd/cache/cache_esi_fetch.c
index 558ee15..0d83b9f 100644
--- a/bin/varnishd/cache/cache_esi_fetch.c
+++ b/bin/varnishd/cache/cache_esi_fetch.c
@@ -44,13 +44,13 @@
 struct vef_priv {
 	unsigned		magic;
 #define VEF_MAGIC		0xf104b51f
+	int			error;
+	ssize_t			tot;
+
 	struct vgz		*vgz;
 
 	struct vep_state	*vep;
 
-	ssize_t			tot;
-	int			error;
-
 	char			*ibuf;
 	char			*ibuf_i;
 	char			*ibuf_o;



More information about the varnish-commit mailing list