]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] Allow shutdown of sessions when a server becomes unavailable
authorSimon Horman <horms@verge.net.au>
Tue, 21 Jun 2011 05:34:58 +0000 (14:34 +0900)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Jun 2011 20:00:21 +0000 (22:00 +0200)
commite0d1bfb4c1136c1f7087ffe24bf0ae4c2f3f79f8
tree29d26b990b6c9155fd83334f2a0edd74ad7b9332
parentaf5149539739ca64070a4ebe636a2f26a72dd528
[MINOR] Allow shutdown of sessions when a server becomes unavailable

This adds the "on-marked-down shutdown-sessions" statement on "server" lines,
which causes all sessions established on a server to be killed at once when
the server goes down. The task's priority is reniced to the highest value
(1024) so that servers holding many tasks don't cause a massive slowdown due
to the wakeup storm.
doc/configuration.txt
include/types/checks.h
include/types/server.h
src/cfgparse.c
src/checks.c