Re: [BUG][MINOR] incorrect number of configuration files allowed

2009-12-15 Thread Willy Tarreau
Hi Cyril, On Tue, Dec 15, 2009 at 08:53:02PM +0100, Cyril Bonté wrote: > Hi Willy, > > I have another small request concerning this multiple configuration files > parameters : > when an error is detected in one of the files, then haproxy displays > "Error(s) found in configuration file : ..." f

Re: [BUG][MINOR] incorrect number of configuration files allowed

2009-12-15 Thread Cyril Bonté
Hi Willy, I have another small request concerning this multiple configuration files parameters : when an error is detected in one of the files, then haproxy displays "Error(s) found in configuration file : ..." for all the following ones, even if they're valid. In haproxy.c, I suggest to use l

Re: [BUG][MINOR] incorrect number of configuration files allowed

2009-12-11 Thread Cyril Bonté
Le jeudi 10 décembre 2009 21:46:27, Willy Tarreau a écrit : > (...) I'd prefer to take the time to implement > an unlimited list, but it will be slightly longer to implement. OK, I must say that I'm very interested, then :) -- Cyril Bonté

Re: [BUG][MINOR] incorrect number of configuration files allowed

2009-12-10 Thread Willy Tarreau
Hi Cyril, On Thu, Dec 10, 2009 at 12:38:08AM +0100, Cyril Bonté wrote: > 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

[BUG][MINOR] incorrect number of configuration files allowed

2009-12-09 Thread Cyril Bonté
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_nbcfgf