]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: Log warning if (add|set)-header fails
authorTim Duesterhus <tim@bastelstu.be>
Sun, 27 May 2018 18:35:08 +0000 (20:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 May 2018 12:53:59 +0000 (14:53 +0200)
commit3fd1973d373363123ee25b995416643fb3a4446b
treeecb3f26bbb33af10d40839e4bc74de3e88a4159c
parent3e60b11100cbc812b77029ca142b83ac7a314db1
MINOR: http: Log warning if (add|set)-header fails

This patch adds a warning if an http-(request|reponse) (add|set)-header
rewrite fails to change the respective header in a request or response.

This usually happens when tune.maxrewrite is not sufficient to hold all
the headers that should be added.
include/types/counters.h
include/types/stats.h
src/proto_http.c
src/stats.c