r778 - in trunk/varnish-cache: bin/varnishd include lib/libvcl
Dag-Erling Smørgrav
des at linpro.no
Wed Aug 9 13:38:57 CEST 2006
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Dag-Erling Smørgrav <des at projects.linpro.no> writes:
> > void
> > VRT_l_req_backend(struct sess *sp, struct backend *be)
> > {
> > CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
> > sp->backend = be;
> > }
> This is only good while you hold a VCL reference, so please
> clear the field when we hit state DONE in cache_center.c at the
> same time we let go of the VCL reference.
Can you explain that in a little more detail please?
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-commit
mailing list