]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] Implement and use generic findproxy and relax duplicated proxy check
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Sat, 3 Nov 2007 22:41:58 +0000 (23:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 07:14:20 +0000 (08:14 +0100)
commit6eb730ded961e264328bece700df0ebaa1aa2190
tree6c086eac0295b0dc71ecfd383fb5a081c879286c
parent2ee30416af3a8e891956fe99f738c63a5f7e6c70
[MEDIUM] Implement and use generic findproxy and relax duplicated proxy check

This patch:
 - adds proxy_mode_str() similar to proxy_type_str()
 - adds a generic findproxy function used with default_backend/setbe/use_backed
 - rewrite default_backend/senbe/use_backed to use introduced findproxy()
 - relaxes duplicated proxy check
 - changes capabilities displaying from "%X" to "%s" with a call to proxy_type_str()
include/proto/proxy.h
src/cfgparse.c
src/proxy.c