]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: http: add array of generic pointers in http_res_rules
authorThierry FOURNIER <tfournier@haproxy.com>
Tue, 26 May 2015 15:38:47 +0000 (17:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 May 2015 11:50:29 +0000 (13:50 +0200)
This patch adds an array of generic pointers in the http_res_rules
struct. It is used later by the "response capture" functions.

include/types/proto_http.h

index 3d170572c494abba5f1269b7a1db5b9e3fab6c11..19efedc96d43316edbcf636d48bc1d4dd9a2c885 100644 (file)
@@ -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 */
 };