mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-04 22:32:33 -04: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
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue