r607 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Aug 2 19:45:03 CEST 2006


Author: phk
Date: 2006-08-02 19:45:02 +0200 (Wed, 02 Aug 2006)
New Revision: 607

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Enter pass mode through the front door.


Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2006-08-02 17:27:33 UTC (rev 606)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2006-08-02 17:45:02 UTC (rev 607)
@@ -261,7 +261,6 @@
 	if (sp->handling == VCL_RET_PASS) {
 		HSH_Deref(sp->obj);
 		sp->obj = NULL;
-		PassSession(sp);
 		sp->step = STP_PASS;
 		return (0);
 	}
@@ -396,9 +395,8 @@
 		sp->obj->cacheable = 0;
 		HSH_Unbusy(sp->obj);
 		HSH_Deref(sp->obj);
-		sp->obj = 0;
-		PassSession(sp);
-		sp->step = STP_PASSBODY;
+		sp->obj = NULL;
+		sp->step = STP_PASS;
 		return (0);
 	}
 	if (sp->handling == VCL_RET_LOOKUP)




More information about the varnish-commit mailing list