]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: use dst addr as parameter for srv conn hash
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 Feb 2021 15:46:53 +0000 (16:46 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:53:56 +0000 (12:53 +0100)
commit01a287f1e546c5acb87226f22266adc4276d5e81
tree53dd513ba2842c1d0e15b7e4409adccfd018f831
parent68cf3959b345ec9d596d40b01eb416d2bef6522c
MINOR: connection: use dst addr as parameter for srv conn hash

The destination address is used as an input to the server connection hash. The
address and port are used as separated hash inputs. Note that they are not used
when statically specified on the server line. This is only useful for dynamic
destination address.

This is typically used when the server address is dynamically set via the
set-dst action. The address and port are separated hash parameters.

Most notably, it should fixed set-dst use case (cf github issue #947).
include/haproxy/connection-t.h
src/backend.c
src/connection.c