]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] checks: add the server's status in the checks
authorWilly Tarreau <w@1wt.eu>
Wed, 27 Jan 2010 10:53:01 +0000 (11:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 27 Jan 2010 19:16:12 +0000 (20:16 +0100)
commitef78104947afb909ae5649206441354eadd35e0c
tree94f9b42512c563e61da2c6912293c609dd755d27
parente9d8788fddae2dfdb06f84000718cb9b2f5da37c
[MINOR] checks: add the server's status in the checks

Now a server can check the contents of the header X-Haproxy-Server-State
to know how haproxy sees it. The same values as those reported in the stats
are provided :
  - up/down status + check counts
  - throttle
  - weight vs backend weight
  - active sessions vs backend sessions
  - queue length
  - haproxy node name
doc/configuration.txt
include/types/proxy.h
src/cfgparse.c
src/checks.c