]> 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>
Mon, 2 Nov 2009 10:08:00 +0000 (11:08 +0100)
commit96532db9237419b69008bb85c1e557374014420b
treeb1e23a88564aed1ff12527c4162763cde99297ac
parent4c84822d974fe4f7b5e6f7bd1c3940e472646d20
[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().
include/proto/proxy.h
src/cfgparse.c
src/proxy.c