[Libwebsockets] [libwebsockets] #107: Missing LWS_CALLBACK_CLOSED on the the server

Trac trac at libwebsockets.org
Mon Mar 30 12:40:30 CEST 2015


#107: Missing LWS_CALLBACK_CLOSED on the the server
-----------------------------------+-----------------
 Reporter:  stephang               |      Owner:
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  libwebsockets library  |    Version:
 Keywords:                         |
-----------------------------------+-----------------
 Hi,

 is there any possibility to detect client disconnects on the server?
 It seems the LWS_CALLBACK_CLOSED is only fired if the server has already
 written data to the client.
 Is this a bug or is this intended?

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/107>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list