Hi,
I've noticed that haproxy (1.3/1.4 branches) accepts 1 more configuration file than allowed.
The max default is fixed to 10 (#define MAX_CFG_FILES 10) but we can specify 11 "-f" parameters. This parameters are then stored in a 10 elements array.
In haproxy.c, the test
if (cfg_nbcfgfiles > MAX_CFG_FILES) {
should be :
if (cfg_nbcfgfiles >= MAX_CFG_FILES) {
-- Cyril BontéReceived on 2009/12/10 00:38
This archive was generated by hypermail 2.2.0 : 2009/12/10 00:45 CET