]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: actions: Regroup some info about HTTP rules in the same struct
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Dec 2019 12:46:18 +0000 (13:46 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit96bff76087a7ba3820b9db6c313c333f02fc0605
tree0521d6632523643673bc27e64ac6d4e4030eb59c
parent58b3564fde25cc7be2f97ba095f71e08c5cb33e5
MINOR: actions: Regroup some info about HTTP rules in the same struct

Info used by HTTP rules manipulating the message itself are splitted in several
structures in the arg union. But it is possible to group all of them in a unique
struct. Now, <arg.http> is used by most of these rules, which contains:

  * <arg.http.i>   : an integer used as status code, nice/tos/mark/loglevel or
                     action id.
  * <arg.http.str> : an IST used as header name, reason string or auth realm.
  * <arg.http.fmt> : a log-format compatible expression
  * <arg.http.re>  : a regular expression used by replace rules
include/proto/http_ana.h
include/types/action.h
src/hlua.c
src/http_act.c
src/http_ana.c