]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] stick-tables: add a reference counter to each entry
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 12:53:07 +0000 (14:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 13:10:26 +0000 (15:10 +0200)
commite7f3d7ab9f95584f5bf5154b18fd028ccccd93b9
treef478625f74002754fb267faf6a8662ab43d6ddc1
parentcb18364ca71715dceb3664486047db83ddff0efc
[MEDIUM] stick-tables: add a reference counter to each entry

We'll soon have to maintain links from sessions to entries, so let's
add a refcount in entries to avoid purging them if it's not null.
include/types/stick_table.h
src/stick_table.c