Commit e7b3665e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't panic on NULL srcaddr, but revisit later when we know the

details.  Is it the Prefetcher ?



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@504 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 5949741c
......@@ -135,6 +135,11 @@ void
SES_RelSrcAddr(struct sess *sp)
{
if (sp->srcaddr == NULL) {
/* XXX who comes this way ? */
VSL(SLT_Debug, sp->fd, "had no srcaddr");
return;
}
assert(sp->srcaddr != NULL);
AZ(pthread_mutex_lock(&ses_mtx));
sp->srcaddr->nsess--;
......
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