mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-04 16:46:45 -04:00
MINOR: action: define enum for timeout type of the set-timeout rule
This enum is used to specify the timeout targetted by a set-timeout rule.
This commit is contained in:
parent
82635a0fc1
commit
5a9fc2d10f
1 changed files with 6 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ enum act_name {
|
|||
ACT_TCP_CLOSE, /* close at the sender's */
|
||||
};
|
||||
|
||||
/* Timeout name valid for a set-timeout rule */
|
||||
enum act_timeout_name {
|
||||
ACT_TIMEOUT_SERVER,
|
||||
ACT_TIMEOUT_TUNNEL,
|
||||
};
|
||||
|
||||
/* NOTE: if <.action_ptr> is defined, the referenced function will always be
|
||||
* called regardless the action type. */
|
||||
struct act_rule {
|
||||
|
|
|
|||
Loading…
Reference in a new issue