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

We may not have a worker thread here, we could be called from the

acceptor code on a timeout.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2060 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ec7f4bec
......@@ -241,7 +241,7 @@ vca_close_session(struct sess *sp, const char *why)
{
int i;
WSP(sp, SLT_SessionClose, "%s", why);
VSL(SLT_SessionClose, sp->id, "%s", why);
if (sp->fd >= 0) {
i = close(sp->fd);
assert(i == 0 || errno != EBADF); /* XXX EINVAL seen */
......
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