commit | eb3e34854dbbed08e1c9502715cf3a417fe7ac10 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 27 16:46:26 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed May 27 16:51:28 2015 +0200 |
tree | 44445ecad7b908d91a97ee0980e5dbd30f7f057b | |
parent | 0d1fdf7df57988e2f9de2751de8197b68b919ad1 [diff] |
MEDIUM: proxy: add a new proxy_find_best_match() function This function tries to spot a proxy by its name, ID and type, and in case some elements don't match, it tries to determine which ones could be ignored and reports which ones were ignored so that the caller can decide whether or not it wants to pick this proxy. This will be used for maintaining the status across reloads where the config might have changed a bit.