[MEDIUM] stick_table: don't overwrite data when storing an entry
authorWilly Tarreau <w@1wt.eu>
Sun, 6 Jun 2010 13:38:59 +0000 (15:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 13:10:24 +0000 (15:10 +0200)
commitf16d2b8c1bfda0c7f53db5ebc54090576ee3a380
tree2e2639a8ec0adcaa4593d2db8f47b2e6fe038520
parent69b870f862a1ead14e53943befb019187d043c28
[MEDIUM] stick_table: don't overwrite data when storing an entry

Till now sticky sessions only held server IDs. Now there are other
data types so it is not acceptable anymore to overwrite the server ID
when writing something. The server ID must then only be written from
the caller when appropriate. Doing this has also led to separate
lookup and storage.
include/proto/stick_table.h
src/session.c
src/stick_table.c