From: Olivier Houchard Date: Thu, 18 Oct 2018 14:26:57 +0000 (+0200) Subject: MINOR: connection: Add a SUB_CALL_UNSUBSCRIBE event. X-Git-Tag: v1.9-dev4~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f03ab5b1500ee93c0bc2b399ee263c8e74bd100;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/types/connection.h b/include/types/connection.h index da530598a3..827df36f09 100644 --- a/include/types/connection.h +++ b/include/types/connection.h @@ -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 {