Commit dec08002 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

When diagnostics are enabled, log every kevent that has a session associated

with it.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2246 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c571f9f2
......@@ -98,6 +98,11 @@ vca_kev(const struct kevent *kp)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment