MINOR: proxy: simply ignore duplicates in proxy name lookups
authorWilly Tarreau <w@1wt.eu>
Tue, 26 May 2015 09:35:41 +0000 (11:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 May 2015 09:35:41 +0000 (11:35 +0200)
commitc739aa85e847e978928c54ac29df22d00ab040c2
treee19e54cec643e80498826fa5b2b3a82919897d8a
parent9e0bb1013eae4e63808643a6019b095ff0445a3c
MINOR: proxy: simply ignore duplicates in proxy name lookups

Now that we can't have duplicate proxies with similar capabilities, we
can remove some painful check. The first one is the check that made the
lookup function return NULL when a duplicate is found, as it prevented
it from being used in the config parser to detect duplicates.
src/proxy.c