srcaddr and global counters.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2662
d4fa192b-c00b-0410-8231-
f00ffab90ce4
sp->xid, sp->t_req, sp->t_end, dh, dp, da);
sp->xid = 0;
- SES_Charge(sp);
sp->t_open = sp->t_end;
sp->t_resp = NAN;
WSL_Flush(sp->wrk, 0);
if (sp->fd >= 0 && sp->doclose != NULL)
vca_close_session(sp, sp->doclose);
if (sp->fd < 0) {
+ SES_Charge(sp);
VSL_stats->sess_closed++;
assert(!isnan(sp->wrk->used));
sp->wrk = NULL;
return (0);
}
VSL_stats->sess_herd++;
+ SES_Charge(sp);
assert(!isnan(sp->wrk->used));
sp->wrk = NULL;
vca_return_session(sp);