[master] adfac9453 Slim struct vrt_ctx by 16 bytes on 64bit
Nils Goroll
nils.goroll at uplex.de
Mon Feb 1 17:10:08 UTC 2021
commit adfac94537004b1b273316e911ca61dfa8960fae
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Feb 1 17:03:53 2021 +0100
Slim struct vrt_ctx by 16 bytes on 64bit
How 16, you ask? Consider alignment...
diff --git a/include/vrt.h b/include/vrt.h
index 1fa284921..73840c790 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -310,9 +310,9 @@ struct vrt_ctx {
#define VRT_CTX_MAGIC 0x6bb8f0db
unsigned syntax;
+ unsigned vclver;
unsigned method;
unsigned *handling;
- unsigned vclver;
/*
* msg is for error messages and exists only for
More information about the varnish-commit
mailing list