any harm, but I still want to catch it early so we get a log entry for
it.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2491
d4fa192b-c00b-0410-8231-
f00ffab90ce4
#endif
spassert(sp->id == kp->ident);
spassert(sp->fd == sp->id || sp->fd == -1);
- if (sp->fd == -1) {
- VSL(SLT_Debug, sp->id, "%s(): got event 0x%04x on closed fd",
- __func__, kp->fflags);
+ if (sp->fd == -1 || kp->fflags == 0) {
+ VSL(SLT_Debug, sp->id, "%s(): got event 0x%04x on fd %d",
+ __func__, kp->fflags, sp->fd);
return;
}
if (kp->data > 0) {