1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples/minimal-http-server-smp
2018-03-11 18:07:16 +08:00
..
CMakeLists.txt minimal: add Wall and cleanups 2018-03-07 07:05:39 +08:00
favicon.ico minimal: add Wall and cleanups 2018-03-07 07:05:39 +08:00
index.html minimal: add Wall and cleanups 2018-03-07 07:05:39 +08:00
libwebsockets.org-logo.png minimal: add Wall and cleanups 2018-03-07 07:05:39 +08:00
minimal-http-server-smp.c smp: force cancel on pt that was assigned new wsi 2018-03-11 18:07:16 +08:00
README.md minimal: add Wall and cleanups 2018-03-07 07:05:39 +08:00

lws minimal http server with multithreaded service

build

 $ cmake . && make

usage

 $ ./lws-minimal-http-server-smp
[2018/03/07 17:44:20:2409] USER: LWS minimal http server SMP | visit http://localhost:7681
[2018/03/07 17:44:20:2410] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 on
[2018/03/07 17:44:20:2411] NOTICE:   Service threads: 10

Visit http://localhost:7681 and use ab or other testing tools