[3.0] 5e064a1 Increase the id field in VSM

Tollef Fog Heen tfheen at varnish-cache.org
Tue Apr 2 14:25:56 CEST 2013


commit 5e064a1bafcb3b0bd4a2d7cdaeb479e36ff9c310
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Tue Apr 2 14:19:42 2013 +0200

    Increase the id field in VSM
    
    Increase the id field in VSM to 128 bytes to make space for 64 backend
    VCL name + IPv4, IPv6 and portnumber.
    
    This is the same as a9e5d35.
    
    Fixes: #1224

diff --git a/include/vsm.h b/include/vsm.h
index 98e8610..bf3ece3 100644
--- a/include/vsm.h
+++ b/include/vsm.h
@@ -50,7 +50,7 @@ struct VSM_chunk {
 	unsigned		state;
 	char			class[8];
 	char			type[8];
-	char			ident[64];
+	char			ident[128];
 };
 
 #define VSM_NEXT(sha)		((void*)((uintptr_t)(sha) + (sha)->len))



More information about the varnish-commit mailing list