Subi S S
subi.s at cambiumnetworks.com
Mon Jan 11 12:07:52 CET 2016
I was looking for a way to send close reason on websockets, found that it got recently added .
As it is still in master branch and no release is out , is it safe to PATCH it on top of v1.6.0-chrome48-firefox42
is there any thing else I need to patch to get this working ? ( I am yet to try to this ).
close add api to control sent close frame contents
This adds an api lws_close_reason() which lets you control what will
be sent in the close frame when the connection is closed by returning
nonzero from the user callback.
The test server demo is extended to prove it works in both directions.
With this, we should have nice close support.
Signed-off-by: Andy Green <andy.green at linaro.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets