Commit ba770de7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix stats.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@991 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3676c1da
......@@ -115,7 +115,6 @@ vca_handover(struct sess *sp, int bad)
return;
}
sp->step = STP_RECV;
VSL_stats->client_req++;
WRK_QueueSession(sp);
}
......
......@@ -673,6 +673,7 @@ cnt_recv(struct sess *sp)
{
int done;
VSL_stats->client_req++;
clock_gettime(CLOCK_REALTIME, &sp->t_req);
sp->wrk->idle = sp->t_req.tv_sec;
sp->xid = ++xids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment