commit | 3e7a0bb70b2f1a81d17163f27132f2f44b71521e | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Wed Feb 08 11:49:02 2023 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Feb 08 14:48:21 2023 +0100 |
tree | 70cab51af13cd230de983c78483e097e69bb6ea4 | |
parent | a14686d096bcdace77a7f6898d9bba220c901493 [diff] |
MINOR: cfgparse/server: move (min/max)conn postparsing logic into dedicated function In check_config_validity() function, we performed some consistency checks to adjust minconn/maxconn attributes for each declared server. We move this logic into a dedicated function named srv_minmax_conn_apply() to be able to perform those checks later in the process life when needed (ie: dynamic servers)