]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] server tracking: don't care about the tracked server's mode
authorAlex Williams <alex@alexwilliams.ca>
Mon, 2 Nov 2009 02:27:13 +0000 (21:27 -0500)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 Dec 2009 12:20:08 +0000 (13:20 +0100)
commit37fc94dc42147a1345d05c44ee5d71d9cdc16462
tree2585cf13d5ec7dae9ac56dae9370eb21044f7b55
parent950245ca2b772fd6b99b8152c48c694ed0212857
[MINOR] server tracking: don't care about the tracked server's mode

Right now, an HTTP server cannot track a TCP server and vice-versa.
This patch enables proxy tracking without relying on the proxy's mode
(tcp/http/health). It only requires a matching proxy name to exist. The
original function was renamed to findproxy_mode().

(cherry picked from commit 96532db9237419b69008bb85c1e557374014420b)
include/proto/proxy.h
src/cfgparse.c
src/proxy.c