r2088 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Oct 8 13:28:11 CEST 2007
Author: phk
Date: 2007-10-08 13:28:11 +0200 (Mon, 08 Oct 2007)
New Revision: 2088
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c
Log:
Add an assert for spotting ticket #162
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c 2007-10-08 10:33:46 UTC (rev 2087)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c 2007-10-08 11:28:11 UTC (rev 2088)
@@ -88,6 +88,7 @@
while (i >= sizeof ss[0]) {
CHECK_OBJ_NOTNULL(ss[j], SESS_MAGIC);
assert(ss[j]->fd >= 0);
+ AZ(ss[j]->obj);
VTAILQ_INSERT_TAIL(&sesshead, ss[j], list);
vca_kq_sess(ss[j], EV_ADD);
j++;
More information about the varnish-commit
mailing list