[Libwebsockets] how to "close" wsi created by lws_adopt_descriptor_vhost

Andy Green andy at warmcat.com
Wed Oct 11 13:47:47 CEST 2017

On 10/11/2017 06:28 PM, Per Bothner wrote:
> On 10/11/2017 12:58 AM, Andy Green wrote:
>> Basically set a timout of -1 on it using lws_set_timeout().
> Thanks - that worked.  A bit unintuitive, though ...

For normal cases you close by returning -1 from the callback.


More information about the Libwebsockets mailing list