From: Thierry FOURNIER Date: Tue, 26 May 2015 15:38:47 +0000 (+0200) Subject: MINOR: http: add array of generic pointers in http_res_rules X-Git-Tag: v1.6-dev2~81 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=cdb67cad0193b94f485631c5de3d21f38a78e5c7;p=haproxy.git MINOR: http: add array of generic pointers in http_res_rules This patch adds an array of generic pointers in the http_res_rules struct. It is used later by the "response capture" functions. --- diff --git a/include/types/proto_http.h b/include/types/proto_http.h index 3d170572c..19efedc96 100644 --- a/include/types/proto_http.h +++ b/include/types/proto_http.h @@ -477,6 +477,9 @@ struct http_res_rule { struct list key; /* pattern to retrieve MAP or ACL key */ struct list value; /* pattern to retrieve MAP value */ } map; + struct { + void *p[4]; + } act; /* generic pointers to be used by custom actions */ } arg; /* arguments used by some actions */ };