MINOR: server: Parse sni and pool-conn-name expressions in a dedicated function
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Sep 2025 12:45:07 +0000 (14:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Oct 2025 14:48:35 +0000 (16:48 +0200)
commit262a7bfccc0c9731af7a5d652b457eb4dbf20fa7
treead682c7e80aa8b76f6a4a46edfcf38f9a737f351
parent12fa138575874f911e1dddc0f6d46f6fee990952
MINOR: server: Parse sni and pool-conn-name expressions in a dedicated function

This change is mandatory to fix an issue. The parsing of sni and
pool-conn-name expressions (from string to expression) is now handled in a
dedicated function. This will avoid to duplicate the same code at different
places.

(cherry picked from commit 086a248645c8edca681adba50b34d9970e455a98)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 79a6520cea23728ebcb138612bec1d077fd64cca)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c2a750108a2a1f0fe78e484bc103416ba879051a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/server.c