]> err.no Git - varnish/commitdiff
don't overload the waiting list (yet), I suspect it causes #414b
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 12 Jan 2009 13:19:14 +0000 (13:19 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 12 Jan 2009 13:19:14 +0000 (13:19 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3506 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/hash_slinger.h

index 4ae04b5d59eb6b4ebfecc7fc9bfbcc4c9447d03e..d46830e159d0731978fe2e3cd3811815b33511d8 100644 (file)
@@ -78,12 +78,17 @@ struct objhead {
        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