[MINOR] proxy: add a list to hold future layer 4 rules
This list will be evaluated right after the accept() call.
This commit is contained in:
parent
eb472685cb
commit
ab786194f0
|
@ -182,6 +182,7 @@ struct proxy {
|
|||
struct { /* TCP request processing */
|
||||
unsigned int inspect_delay; /* inspection delay */
|
||||
struct list inspect_rules; /* inspection rules */
|
||||
struct list l4_rules; /* layer4 rules */
|
||||
} tcp_req;
|
||||
int acl_requires; /* Elements required to satisfy all ACLs (ACL_USE_*) */
|
||||
struct server *srv, defsrv; /* known servers; default server configuration */
|
||||
|
|
|
@ -908,6 +908,7 @@ static void init_new_proxy(struct proxy *p)
|
|||
LIST_INIT(&p->sticking_rules);
|
||||
LIST_INIT(&p->storersp_rules);
|
||||
LIST_INIT(&p->tcp_req.inspect_rules);
|
||||
LIST_INIT(&p->tcp_req.l4_rules);
|
||||
LIST_INIT(&p->req_add);
|
||||
LIST_INIT(&p->rsp_add);
|
||||
|
||||
|
|
Loading…
Reference in New Issue