mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-14 16:09:17 +02:00
OPTIM/MINOR: move the hdr_idx pools out of the proxy struct
It makes no sense to have one pointer to the hdr_idx pool in each proxy struct since these pools do not depend on the proxy. Let's have a common pool instead as it is already the case for other types.
This commit is contained in:
@@ -296,7 +296,6 @@ struct proxy {
|
||||
struct cap_hdr *rsp_cap; /* chained list of response headers to be captured */
|
||||
struct pool_head *req_cap_pool, /* pools of pre-allocated char ** used to build the sessions */
|
||||
*rsp_cap_pool;
|
||||
struct pool_head *hdr_idx_pool; /* pools of pre-allocated int* used for headers indexing */
|
||||
struct list req_add, rsp_add; /* headers to be added */
|
||||
struct pxcounters be_counters; /* backend statistics counters */
|
||||
struct pxcounters fe_counters; /* frontend statistics counters */
|
||||
|
||||
Reference in New Issue
Block a user