]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add the "except" keyword to the "forwardfor" option
authorWilly Tarreau <w@1wt.eu>
Sun, 25 Mar 2007 14:00:04 +0000 (16:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 25 Mar 2007 14:00:04 +0000 (16:00 +0200)
commit7ac51f61f52837f206e10bcdbd45ddd5be8241e4
tree49a9aab8f60705fb49061db9a63fd138a1d1a103
parent95c20aca3540fae7b3bc4df1b0c7fb86dced191c
[MEDIUM] add the "except" keyword to the "forwardfor" option

Patch from Bryan Germann for 1.2.17.
In some circumstances, it is useful not to add the X-Forwarded-For
header, for instance when the client is another reverse-proxy or
stunnel running on the same machine and which already adds it. This
patch adds the "except" keyword to the "forwardfor" option, allowing
to specify an address or network which will not be added to this
header.
doc/haproxy-en.txt
doc/haproxy-fr.txt
include/types/proxy.h
src/cfgparse.c
src/proto_http.c