]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: add a new proxy_find_best_match() function
authorWilly Tarreau <w@1wt.eu>
Wed, 27 May 2015 14:46:26 +0000 (16:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 27 May 2015 14:51:28 +0000 (16:51 +0200)
commiteb3e34854dbbed08e1c9502715cf3a417fe7ac10
tree44445ecad7b908d91a97ee0980e5dbd30f7f057b
parent0d1fdf7df57988e2f9de2751de8197b68b919ad1
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.
include/proto/proxy.h
src/proxy.c