]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] 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>
Thu, 28 Jan 2010 22:17:08 +0000 (23:17 +0100)
commitdb214364d05e7db624c9b6ca18d1bcc2617e3520
tree7d28b2ab5a05530814ed30d9882a33f901ee2e35
parent91caa6fe504f74368af078ea6b8222a994dd89ce
[MEDIUM] 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