]> git.kaiwu.me - haproxy.git/commit
MEDIUM: streams: support looking up stkctr in the session
authorWilly Tarreau <w@1wt.eu>
Sat, 4 Apr 2015 14:29:12 +0000 (16:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:31 +0000 (11:37 +0200)
commit8b7f8688ee89f9d4b04d9f3236f5aa70e8c35978
treecdb6abaa0fa2de214bb6348010dd0be0b3c0d491
parent7698c9080ab059525602ba7ac0bae693a3ca2a58
MEDIUM: streams: support looking up stkctr in the session

In order to support sessions tracking counters, we first ensure that there
is no overlap between streams' stkctr and sessions', and we allow an
automatic lookup into the session's counters when the stream doesn't
have a counter or when the stream doesn't exist during an access via
a sample fetch. The functions used to update the stream counters only
update them and not the session counters however.
include/proto/stream.h
src/stream.c