[Libwebsockets] v2.3 released

Andy Green andy at warmcat.com
Fri Jul 28 08:57:39 CEST 2017


Hi -

https://github.com/warmcat/libwebsockets/tree/v2.3-stable

Thanks to everyone who contributed.

There are many fixes and improvements.

The main change to the ABI is the addition of lws_vhost_destroy().

But there is a new protocol included, "lws-meta" ( 
https://github.com/warmcat/libwebsockets/blob/v2.3-stable/README.lws-meta.md 
).  This allows you to multiplex one "lws-meta" protocol ws[s] 
connection so it can carry many other ws connections of some arbitrary 
protocol.

The protocol handlers for the other protocols do not require any 
modifications and are unaware they are sharing the connection.

The test server has migrated to use this.

The ESP32 test server project 
(https://github.com/warmcat/lws-esp32-test-server-demos/commits/master) 
now also uses it, the impact on free heap with one browser window open 
on the test server is

discrete ws connections:

4: Free heap: 123232

lws-meta:

4: Free heap: 159672

-Andy


More information about the Libwebsockets mailing list