MINOR: lbprm: support for the "none" hash-type function
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 11 Oct 2023 07:57:35 +0000 (09:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Oct 2023 08:05:06 +0000 (10:05 +0200)
commita7563158f77d0be4a154cab48ebaf4c515f9e4c0
tree802bdbd7c9f0b8a813c980de529e9f077d934c16
parente0b46600150ceb67d3051cc6ed1150708f0ae7a1
MINOR: lbprm: support for the "none" hash-type function

Allow the use of the "none" hash-type function so that the key resulting
from the sample expression is directly used as the hash.

This can be useful to do the hashing manually using available hashing
converters, or even custom ones, and then inform haproxy that it can
directly rely on the sample expression result which is explictly handled
as an integer in this case.
doc/configuration.txt
include/haproxy/backend-t.h
src/backend.c
src/cfgparse-listen.c