r2060 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sun Sep 30 21:54:06 CEST 2007
Author: phk
Date: 2007-09-30 21:54:06 +0200 (Sun, 30 Sep 2007)
New Revision: 2060
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
We may not have a worker thread here, we could be called from the
acceptor code on a timeout.
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2007-09-30 19:44:06 UTC (rev 2059)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2007-09-30 19:54:06 UTC (rev 2060)
@@ -241,7 +241,7 @@
{
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 */
More information about the varnish-commit
mailing list