[Libwebsockets] Callback when wsi is deleted
gabriel at gritsch-soft.com
Sat Feb 15 12:37:51 CET 2014
great - thx!
Am 15.02.2014 um 12:27 schrieb Andy Green (林安廸):
> On 15/02/14 17:28, the mail apparently from Gabriel Gritsch included:
>> Hi there,
>> I need a callback that is sent when before the wsi is deleted (to clean up some stuff in user_space).
>> I know about LWS_CALLBACK_CLOSED (and LWS_CALLBACK_CLOSED_HTTP) but this is not called if the state is something like WSI_STATE_DEAD_SOCKET, WSI_STATE_CLIENT_UNCONNECTED (whatever this means).
> adds a new create and destroy notification that are guaranteed to be the earliest and latest time in the wsi lifecycle.
>> thank you
>> Libwebsockets mailing list
>> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets