[Libevent-users] libevent & SCTP

2013-04-25 Thread Alexander Drozdov
Hello! Are there any plans or ideas to add extra support of SCTP protocol to libevent? I mean something like bufferevents but - message-oriented - with SCTP streams support - with support of other features described in rfc6458 - with DTLS support (as a filter)

Re: [Libevent-users] RFC: strategy for deadlock avoidance and safe finalization in Libevent 2.1

2013-04-10 Thread Alexander Drozdov
The idea is good, but why to not just register finalizer callback on event initialization? A data pointer is passed to event_assign() or event_new() so we can pass finalizer along with the data. With this approach, - finalizer, if set, will be called automatically after calling event_free() or