r779 - trunk/varnish-cache/bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Wed Aug 9 14:38:11 CEST 2006
Author: des
Date: 2006-08-09 14:38:11 +0200 (Wed, 09 Aug 2006)
New Revision: 779
Modified:
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Clear reference to backend when we release our VCL reference.
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2006-08-09 11:24:39 UTC (rev 778)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2006-08-09 12:38:11 UTC (rev 779)
@@ -99,6 +99,7 @@
assert(sp->vbc == NULL);
if (sp->fd >= 0 && sp->doclose != NULL)
vca_close_session(sp, sp->doclose);
+ sp->backend = NULL;
VCL_Rel(sp->vcl);
sp->vcl = NULL;
More information about the varnish-commit
mailing list