[Libwebsockets] Q: combining libwebsockets with an embedded webserver

Jack Mitchell ml at communistcode.co.uk
Thu May 22 20:27:35 CEST 2014



On 22/05/2014 19:10, Michael Haberler wrote:
> I wonder what people use for the following situation:
>
> - embedded environment
> - websockets covered by libwebsockets
> - http server functionality just a tad too bare bones with libewebsockets as it stands
>
> use a separate web server like lighthttpd?
>
> does it make any sense to integrate some other embeddable webserver to beef up http handling capabilities?
>
> or should I just go for a separate server binary, on a separate port, and close HTTP-only connections on the websockets port?
>
> thanks in advance
>
> - Michael

I use Hiawatha webserver with my websocket application. If you're 
running Linux then a small additional web server is unlikely to cause 
problems.



More information about the Libwebsockets mailing list