]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: connections: Add a "handle" field to wait_list.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 31 Aug 2018 15:43:32 +0000 (17:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:37:55 +0000 (17:37 +0200)
Add a new field to struct wait_list, "handle", that can be used by the
entity in charge of subscribing.

include/types/connection.h

index 1fa0b7381fbc28385602d0778f280fecae062f8d..998ecacb0e54beeb42795e6bbae251a18e004bff 100644 (file)
@@ -52,6 +52,7 @@ enum sub_event_type {
 struct wait_list {
        struct tasklet *task;
        struct list list;
+       void *handle;           /* To be used by the callee */
        int wait_reason;
 };