[Libwebsockets] Proper method to close websocket from client
yellowjacketlite at gmail.com
Thu Dec 4 16:55:58 CET 2014
I don't see an obvious means to properly close the websocket connection
from a client perspective. Looking at the test-client.c it appears to just
use libwebsocket_context_destroy as a 'close' method. But that doesn't
correctly handle the webscoket shutdown handshake (client sends 'close',
server responds with 'close' and 'client requested').
Does one of the sample clients perform a proper graceful shutdown of the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets