]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: add a new "http-response" ruleset
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 14:06:12 +0000 (16:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 14:06:12 +0000 (16:06 +0200)
commite365c0b92b87a326b827b6619ee1cbc5d12cc844
treeacfe4515367891661f8df97eaabc06808d5de8d8
parent2b57cb8f30208e4d1d003590e141c9bef03bb279
MEDIUM: http: add a new "http-response" ruleset

Some actions were clearly missing to process response headers. This
patch adds a new "http-response" ruleset which provides the following
actions :
  - allow : stop evaluating http-response rules
  - deny : stop and reject the response with a 502
  - add-header : add a header in log-format mode
  - set-header : set a header in log-format mode
doc/configuration.txt
include/proto/proto_http.h
include/types/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/proto_http.c
src/proxy.c