]> git.kaiwu.me - 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 05:17:24 +0000 (06:17 +0100)
commitda372ededeac325c65c59c8cd406654937d59037
treeada420bce5c1b37c517de1fb6965cb60333d1c05
parenta46545b695d7e840bb2459762c934b7664703360
[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