]> err.no Git - varnish/commitdiff
Have the acceptor launch the session into STP_RECV
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 14 Jul 2006 12:47:09 +0000 (12:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 14 Jul 2006 12:47:09 +0000 (12:47 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@477 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_center.c

index 644446b7d19c3f4ba28f68c52a19c44fa706a8a0..79fb0e37e5064c5bc5b60ea5f77696bb9e902b50 100644 (file)
@@ -153,6 +153,7 @@ vca_callback(void *arg, int bad)
                vca_return_session(sp);
                return;
        }
+       sp->step = STP_RECV;
        WRK_QueueSession(sp);
 }
 
index 1f070bef520112fc40987ebea5e77863003e4cc7..d5e1911411482b7ca85d4a0148c4501a7056b5b9 100644 (file)
@@ -531,7 +531,6 @@ CNT_Session(struct sess *sp)
 {
        int done;
 
-       sp->step = STP_RECV;
        for (done = 0; !done; ) {
                switch (sp->step) {
 #define STEP(l,u) \
@@ -544,7 +543,6 @@ CNT_Session(struct sess *sp)
                default:        INCOMPL();
                }
        }
-
 }
 
 /*