]> err.no Git - varnish/commitdiff
We may not have a worker thread here, we could be called from the
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 30 Sep 2007 19:54:06 +0000 (19:54 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 30 Sep 2007 19:54:06 +0000 (19:54 +0000)
acceptor code on a timeout.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2060 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c

index ed0cdaab965ea482e0e1444cf9920222aaa64931..c56f71786919c899cdfe45297a692f04bc30d887 100644 (file)
@@ -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 */