]> err.no Git - varnish/commit
Give backends a reference count and reuse any existing identical backend
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 12:19:16 +0000 (12:19 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 12:19:16 +0000 (12:19 +0000)
commit1ec8ab9d55eef6cc729e9091e7d9c2e1bb1a4d26
tree77f139b33563dfdbd6de619b9675fd7b8f274444
parent0c997cd541db3785f0d80522f433e98b080f6902
Give backends a reference count and reuse any existing identical backend
when a new VCL instantiates a backend.

Drop backends when their reference count goes to zero.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1894 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_vrt.c