[MINOR] session: differenciate between accepted connections and received connections
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Jun 2010 18:59:39 +0000 (20:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:53:19 +0000 (10:53 +0200)
commitb36b4244a2f6767f6096e9ab98184e6316fb35b4
tree7df1d7b3dac765950ec019439f5a2f3a8ac759eb
parent7999ddbc953cf40c5f0213e29847a3bd40620b65
[MINOR] session: differenciate between accepted connections and received connections

Now we're able to reject connections very early, so we need to use a
different counter for the connections that are received and the ones
that are accepted and converted into sessions, so that the rate limits
can still apply to the accepted ones. The session rate must still be
used to compute the rate limit, so that we can reject undesired traffic
without affecting the rate.
include/proto/proxy.h
include/types/counters.h
include/types/proxy.h
src/dumpstats.c
src/session.c