mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: connection: Add a SUB_CALL_UNSUBSCRIBE event.
Add a SUB_CALL_UNSUBSCRIBE event, to let the caller know that the unsubscribe method should be called before destroyin the object.
This commit is contained in:
parent
d7bd3e3c4c
commit
3f03ab5b15
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ struct pipe;
|
|||
enum sub_event_type {
|
||||
SUB_CAN_SEND = 0x00000001, /* Schedule the tasklet when we can send more */
|
||||
SUB_CAN_RECV = 0x00000002, /* Schedule the tasklet when we can recv more */
|
||||
SUB_CALL_UNSUBSCRIBE = 0x00000004, /* The mux wants its unsubscribe() method to be called before destruction of the underlying object */
|
||||
};
|
||||
|
||||
struct wait_event {
|
||||
|
|
|
|||
Loading…
Reference in a new issue