r477 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Jul 14 14:47:09 CEST 2006


Author: phk
Date: 2006-07-14 14:47:09 +0200 (Fri, 14 Jul 2006)
New Revision: 477

Modified:
   trunk/varnish-cache/bin/varnishd/cache_acceptor.c
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Have the acceptor launch the session into STP_RECV


Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-07-14 12:45:56 UTC (rev 476)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-07-14 12:47:09 UTC (rev 477)
@@ -153,6 +153,7 @@
 		vca_return_session(sp);
 		return;
 	}
+	sp->step = STP_RECV;
 	WRK_QueueSession(sp);
 }
 

Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2006-07-14 12:45:56 UTC (rev 476)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2006-07-14 12:47:09 UTC (rev 477)
@@ -531,7 +531,6 @@
 {
 	int done;
 
-	sp->step = STP_RECV;
 	for (done = 0; !done; ) {
 		switch (sp->step) {
 #define STEP(l,u) \
@@ -544,7 +543,6 @@
 		default:	INCOMPL();
 		}
 	}
-
 }
 
 /*




More information about the varnish-commit mailing list