r2256 - in branches/1.2: . bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Thu Nov 15 17:03:22 CET 2007
Author: des
Date: 2007-11-15 17:03:21 +0100 (Thu, 15 Nov 2007)
New Revision: 2256
Modified:
branches/1.2/
branches/1.2/bin/varnishd/cache_acceptor_kqueue.c
Log:
Merged revisions 2246 via svnmerge from
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
........
r2246 | des | 2007-11-09 12:19:45 +0100 (Fri, 09 Nov 2007) | 3 lines
When diagnostics are enabled, log every kevent that has a session associated
with it.
........
Property changes on: branches/1.2
___________________________________________________________________
Name: svnmerge-integrated
- /trunk/varnish-cache:1-2101,2104-2107,2115-2120,2122-2130,2133,2151,2153-2154,2157,2161-2162,2166-2168,2173,2175-2176,2180-2184,2186-2193,2206,2208,2210-2215,2220,2222-2232,2243
+ /trunk/varnish-cache:1-2101,2104-2107,2115-2120,2122-2130,2133,2151,2153-2154,2157,2161-2162,2166-2168,2173,2175-2176,2180-2184,2186-2193,2206,2208,2210-2215,2220,2222-2232,2243,2246
Modified: branches/1.2/bin/varnishd/cache_acceptor_kqueue.c
===================================================================
--- branches/1.2/bin/varnishd/cache_acceptor_kqueue.c 2007-11-15 16:02:05 UTC (rev 2255)
+++ branches/1.2/bin/varnishd/cache_acceptor_kqueue.c 2007-11-15 16:03:21 UTC (rev 2256)
@@ -98,6 +98,11 @@
return;
}
CAST_OBJ_NOTNULL(sp, kp->udata, SESS_MAGIC);
+#ifdef DIAGNOSTICS
+ VSL(SLT_Debug, sp->id, "sp %p kev data %lu flags 0x%x%s",
+ sp, (unsigned long)kp->data, kp->flags,
+ (kp->flags & EV_EOF) ? " EOF" : "");
+#endif
if (kp->data > 0) {
i = HTC_Rx(sp->htc);
if (i == 0)
More information about the varnish-commit
mailing list