]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: stats: move the HTTP header injection to proto_http
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Dec 2012 21:03:39 +0000 (22:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 22 Dec 2012 21:50:01 +0000 (22:50 +0100)
commit1facd6d67e78d0628be7b7a7444afbf2b36aa5fd
treeb5558f920766f3a377d4646bb9186a9bf3ecf391
parentd9bdcd5139cbae596b0af2cd118b6ff71cabca80
REORG: stats: move the HTTP header injection to proto_http

The HTTP header injection that are performed in dumpstats when responding
or when redirecting a POST request have nothing to do in dumpstats. They
do not use any state from the stats, and are 100% HTTP. Let's make the
headers there in the HTTP core, and have dumpstats only produce stats.
src/dumpstats.c
src/proto_http.c