]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats admin: allow unordered parameters in POST requests
authorCyril Bonté <cyril.bonte@free.fr>
Wed, 4 Apr 2012 10:57:18 +0000 (12:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Apr 2012 07:58:25 +0000 (09:58 +0200)
commitcf8d9ae3cd58e390b296922518d6ebef7a82717d
treeb90d1e4ae58915beecacfe5faa6c47643ed79ab6
parent9bb0e2042e640959ef492d4f5bada726fd9a019d
MINOR: stats admin: allow unordered parameters in POST requests

Previously, the stats admin page required POST parameters to be provided
exactly in the same order as the HTML form.
This patch allows to handle those parameters in any orders.

Also, note that haproxy won't alter server states anymore if backend or server
names are ambiguous (duplicated names in the configuration) to prevent
unexpected results (the same should probably be applied to the stats socket).
include/proto/dumpstats.h
include/types/proto_http.h
src/dumpstats.c
src/proto_http.c