mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-02 03:23:12 +00:00
BUG/MEDIUM: http_act: Restore init of log-format list
Restore init of log-format list in parse_http_del_header which was
accidently deleted by commit ebdd4c55da
(implementation of different header matching methods for
http-request/response del-header).
This is related to GitHub issue #909
This commit is contained in:
parent
5bfe66366c
commit
6dee9969b9
@ -1506,6 +1506,7 @@ static enum act_parse_ret parse_http_del_header(const char **args, int *orig_arg
|
||||
rule->arg.http.str.len = strlen(rule->arg.http.str.ptr);
|
||||
px->conf.args.ctx = (rule->from == ACT_F_HTTP_REQ ? ARGC_HRQ : ARGC_HRS);
|
||||
|
||||
LIST_INIT(&rule->arg.http.fmt);
|
||||
if (strcmp(args[cur_arg+1], "-m") == 0) {
|
||||
cur_arg++;
|
||||
if (!*args[cur_arg+1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user