unlucky multiple times in which case the responsibility falls back to
cnt_lookup().
Fixes 144.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1913
d4fa192b-c00b-0410-8231-
f00ffab90ce4
*/
WSL(sp->wrk, SLT_Debug, sp->fd,
"on waiting list on obj %u", sp->obj->xid);
- assert(!isnan(sp->wrk->used));
+ /*
+ * There is a non-zero risk that we come here more than once
+ * before we get through, in that case cnt_recv must be set
+ */
+ if (isnan(sp->wrk->used))
+ sp->wrk->used = TIM_real();
SES_Charge(sp);
return (1);
}