[master] 8b4cc65 Remember to release workspace on listen socket close.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Sep 20 16:21:08 CEST 2011
commit 8b4cc6576a5e4869cd133fef7d2b002dffc49af9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Sep 20 14:20:51 2011 +0000
Remember to release workspace on listen socket close.
diff --git a/bin/varnishd/cache_pool.c b/bin/varnishd/cache_pool.c
index 5ff635b..6be7613 100644
--- a/bin/varnishd/cache_pool.c
+++ b/bin/varnishd/cache_pool.c
@@ -222,6 +222,7 @@ Pool_Work_Thread(void *priv, struct worker *w)
if (i < 0) {
/* Socket Shutdown */
FREE_OBJ(ps);
+ WS_Release(w->ws, 0);
continue;
}
VTAILQ_INSERT_TAIL(&pp->socks, ps, list);
More information about the varnish-commit
mailing list