]> git.kaiwu.me - haproxy.git/commit
[MINOR] adjust error messages about conflicting proxies
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 06:04:43 +0000 (07:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 06:04:43 +0000 (07:04 +0100)
commit67f15ca41ce19511dd9de40a2b9e6319f204df65
tree74bd2f4864fc3759a7662b1cd9d2acef26d54bd7
parentda372ededeac325c65c59c8cd406654937d59037
[MINOR] adjust error messages about conflicting proxies

It's not easy to report useful information to help the user quickly
fix a configuration. This patch :
  - removes the word "listener" in favor of "proxy" as it has been
    used since the beginning ;

  - ensures that the same function (hence the same words) will be
    used to report capabilities of a proxy being declared and an
    existing proxy ;

  - avoid the term "conflicting capabilities" in favor of "overlapping
    capabilities" which is more exact.

  - just report that the same name is reused in case of warnings
include/proto/proxy.h
src/cfgparse.c
src/proxy.c