r683 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sat Aug 5 22:52:05 CEST 2006
Author: phk
Date: 2006-08-05 22:52:05 +0200 (Sat, 05 Aug 2006)
New Revision: 683
Modified:
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
For consistency: Go to deliver state instead of delivering locally.
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2006-08-05 18:11:31 UTC (rev 682)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2006-08-05 20:52:05 UTC (rev 683)
@@ -272,10 +272,7 @@
sp->handling = VCL_RET_PASS;
if (sp->handling == VCL_RET_DELIVER) {
- RES_WriteObj(sp);
- HSH_Deref(sp->obj);
- sp->obj = NULL;
- sp->step = STP_DONE;
+ sp->step = STP_DELIVER;
return (0);
}
if (sp->handling == VCL_RET_PASS) {
More information about the varnish-commit
mailing list