[Libwebsockets] Callback when wsi is deleted

Gabriel Gritsch gabriel at gritsch-soft.com
Sat Feb 15 10:28:01 CET 2014


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).

thank you

Gabriel 


More information about the Libwebsockets mailing list