mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG: MINOR: http: don't check http-request capture id when len is provided
Randomly, haproxy could fail to start when a "http-request capture" action is defined, without any change to the configuration. The issue depends on the memory content, which may raise a fatal error like : unable to find capture id 'xxxx' referenced by http-request capture rule Commitfd608dd2already prevents the condition to happen, but this one should be included for completeness and to reclect the code on the response side. The issue was introduced recently by commit29730ba5and should only be backported to haproxy 1.8.
This commit is contained in:
parent
3906d5739c
commit
9fc9e53763
1 changed files with 0 additions and 1 deletions
|
|
@ -12149,7 +12149,6 @@ enum act_parse_ret parse_http_req_capture(const char **args, int *orig_arg, stru
|
|||
|
||||
rule->action = ACT_CUSTOM;
|
||||
rule->action_ptr = http_action_req_capture;
|
||||
rule->check_ptr = check_http_req_capture;
|
||||
rule->arg.cap.expr = expr;
|
||||
rule->arg.cap.hdr = hdr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue