r3506 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Jan 12 14:19:14 CET 2009


Author: phk
Date: 2009-01-12 14:19:14 +0100 (Mon, 12 Jan 2009)
New Revision: 3506

Modified:
   trunk/varnish-cache/bin/varnishd/hash_slinger.h
Log:
don't overload the waiting list (yet), I suspect it causes #414b



Modified: trunk/varnish-cache/bin/varnishd/hash_slinger.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/hash_slinger.h	2009-01-12 13:13:59 UTC (rev 3505)
+++ trunk/varnish-cache/bin/varnishd/hash_slinger.h	2009-01-12 13:19:14 UTC (rev 3506)
@@ -78,12 +78,17 @@
 	char			*hash;
 	unsigned		hashlen;
 	unsigned char		digest[DIGEST_LEN];
+#ifdef NOT_YET
 	union {
 		VTAILQ_HEAD(, sess)	__u_waitinglist;
 		VTAILQ_ENTRY(objhead)	__u_coollist;
 	} __u;
 #define waitinglist __u.__u_waitinglist
 #define coollist __u.__u_coollist
+#else
+	VTAILQ_HEAD(, sess)	waitinglist;
+	VTAILQ_ENTRY(objhead)	coollist;
+#endif
 
 	/*----------------------------------------------------
 	 * The fields below are for the sole private use of



More information about the varnish-commit mailing list