[PATCH]: Check for duplicated conflicting proxies

From: Krzysztof Oledzki <ole#ans.pl>
Date: Fri, 19 Oct 2007 16:50:26 +0200 (CEST)


Hello,

Currently haproxy accepts a config with duplicated proxies (listen/fronted/backed/ruleset). This patch fix this, so the application will complain when there is an error.

With this modification it is still possible to use the same name for two proxies (for example frontend&backend) as long there is no conflict:

 		listen backend frontend ruleset
listen             -      -       -        OK
backend            -      -       OK       OK
frontend           -      OK      -        OK
ruleset            OK     OK      OK       -

Best regards,

                         Krzysztof Olędzki

Received on 2007/10/19 16:50

This archive was generated by hypermail 2.2.0 : 2007/11/04 19:21 CET