commit | 9e0bb1013eae4e63808643a6019b095ff0445a3c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 26 11:24:42 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 26 11:24:42 2015 +0200 |
tree | 19a5ebe577bb4eb1fe54219ba920a49c355cd3b7 | |
parent | e45288c0caae2595ed94b16743e3df72a19ca969 [diff] |
CLEANUP: proxy: make the proxy lookup functions more user-friendly First, findproxy() was renamed proxy_find_by_name() so that its explicit that a name is required for the lookup. Second, we give this function the ability to search for tables if needed. Third we now provide inline wrappers to pass the appropriate PR_CAP_* flags and to explicitly look up a frontend, backend or table.