r2808 - trunk/varnish-cache/lib/libvcl
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jun 25 17:56:05 CEST 2008
Author: phk
Date: 2008-06-25 17:56:05 +0200 (Wed, 25 Jun 2008)
New Revision: 2808
Modified:
trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Grap reference count on backend used by name in directors.
Fixes ticket 263
Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-06-25 15:54:52 UTC (rev 2807)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-06-25 15:56:05 UTC (rev 2808)
@@ -238,6 +238,7 @@
vcc_ErrWhere(tl, tl->t);
return;
}
+ vcc_AddRef(tl, h->name, R_BACKEND);
vcc_NextToken(tl);
ExpectErr(tl, ';');
vcc_NextToken(tl);
More information about the varnish-commit
mailing list