mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 09:24:31 +00:00
BUG/MINOR: proto_tcp: custom action continue is ignored
The custom action is ignored by 'tcp-request connection'. This patch fix this behavior and take in account the value of the flag 'action'.
This commit is contained in:
parent
a6b6343cff
commit
c89f4f5305
@ -1440,8 +1440,11 @@ int tcp_exec_req_rules(struct session *sess)
|
||||
}
|
||||
else {
|
||||
/* Custom keywords. */
|
||||
if (rule->action_ptr)
|
||||
if (rule->action_ptr) {
|
||||
rule->action_ptr(rule, sess->fe, NULL);
|
||||
if (rule->action == TCP_ACT_CUSTOM_CONT)
|
||||
continue;
|
||||
}
|
||||
|
||||
/* otherwise it's an accept */
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user