r967 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Sep 11 17:12:05 CEST 2006
Author: phk
Date: 2006-09-11 17:12:05 +0200 (Mon, 11 Sep 2006)
New Revision: 967
Modified:
trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
remember to close pipes
Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-09-11 14:50:56 UTC (rev 966)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2006-09-11 15:12:05 UTC (rev 967)
@@ -194,6 +194,8 @@
VSL_stats->n_wrk--;
UNLOCK(&wrk_mtx);
VSL(SLT_WorkThread, 0, "%p end", w);
+ close(w->pipe[0]);
+ close(w->pipe[1]);
return (NULL);
}
More information about the varnish-commit
mailing list