mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02: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
@ -48,6 +48,7 @@ struct pipe;
|
|||||||
enum sub_event_type {
|
enum sub_event_type {
|
||||||
SUB_CAN_SEND = 0x00000001, /* Schedule the tasklet when we can send more */
|
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_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 {
|
struct wait_event {
|
||||||
|
Loading…
Reference in New Issue
Block a user