]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stick-tables: Add srvkey option to stick-table
authorThayne McCombs <thayne@lucidchart.com>
Fri, 20 Nov 2020 08:28:26 +0000 (01:28 -0700)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Dec 2020 09:04:54 +0000 (10:04 +0100)
commit92149f9a82a9b55c598f1cc815bc330c555f3561
tree15f30d1b95f02436751c7f4fd3e996a13543b531
parentdc38bc4a1aecae55008b8bc472c4ff81302ad7df
MEDIUM: stick-tables: Add srvkey option to stick-table

This allows using the address of the server rather than the name of the
server for keeping track of servers in a backend for stickiness.

The peers code was also extended to support feeding the dictionary using
this key instead of the name.

Fixes #814
15 files changed:
doc/configuration.txt
include/haproxy/dict.h
include/haproxy/proxy-t.h
include/haproxy/server-t.h
include/haproxy/server.h
include/haproxy/stick_table-t.h
include/haproxy/tools.h
src/cfgparse-listen.c
src/cfgparse.c
src/dict.c
src/peers.c
src/server.c
src/stick_table.c
src/stream.c
src/tools.c