[MEDIUM] enable/disable servers from the stats web interface
authorCyril Bonté <cyril.bonte@free.fr>
Mon, 11 Oct 2010 22:14:35 +0000 (00:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:34 +0000 (19:04 +0200)
commit70be45dbdfb4edb26d7fee9b704ca71483134459
tree7b85dd4cfe94632231bbcc7bcb4da84f33db8ec4
parentd64d225e52e8f400c9e4782c799f2bde7a08c752
[MEDIUM] enable/disable servers from the stats web interface

Based on a patch provided by Judd Montgomery, it is now possible to
enable/disable servers from the stats web interface. This allows to select
several servers in a backend and apply the action to them at the same time.

Currently, there are 2 known limitations :
- The POST data are limited to one packet
  (don't alter too many servers at a time).
- Expect: 100-continue is not supported.
(cherry picked from commit 7693948766cb5647ac03b48e782cfee2b1f14491)
include/proto/dumpstats.h
include/types/session.h
src/dumpstats.c
src/proto_http.c