]> err.no Git - varnish/commitdiff
Don't drop the .old in the child cli_vcl_reload
authorTollef Fog Heen <tfheen@err.no>
Wed, 26 Nov 2008 00:23:38 +0000 (01:23 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 30 Jan 2009 12:06:42 +0000 (13:06 +0100)
We accidentially dropped the renamed object, fix this.

varnish-cache/bin/varnishd/cache_vcl.c

index 6baefa86c730d047358c8dd7395f81406f62770c..75f4854c54518caaded3ace74a8cb1e02476ebd7 100644 (file)
@@ -282,12 +282,6 @@ ccf_config_reload(struct cli *cli, const char * const *av, void *priv)
                vcl_active = vcl;
        Lck_Unlock(&vcl_mtx);
 
-       VSL_stats->n_vcl_discard++;
-       VSL_stats->n_vcl_avail--;
-       vcl_discard->conf->discard = 1;
-
-       if (vcl_discard->conf->busy == 0)
-               VCL_Nuke(vcl_discard);
        return;
 }