]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] add back-references to sessions for later use by a dumper.
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 19:16:23 +0000 (20:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 20:57:02 +0000 (21:57 +0100)
commit62e4f1deddd1be882d69d6f7e76c663aade11210
tree7788e15bd9f8b92ce9d7a921b7269fdb5ed20ba6
parentbc04ce7cd97410e13de63051190e425c7ee2cab6
[MINOR] add back-references to sessions for later use by a dumper.

This is the first step in implementing a session dump tool.
A session dump will need restart points. It will be necessary for
it to get references to sessions which can be moved when the session
dies.

The principle is not that complex : when a session ends, it looks for
any potential back-references. If it finds any, then it moves them to
the next session in the list. The dump function will of course have
to restart from that new point.
include/types/session.h
src/client.c
src/proto_uxst.c
src/session.c