Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
CMakeLists.txt | D | 12-May-2024 | 2.1 KiB | 82 | 71 | |
README.md | D | 12-May-2024 | 531 | 26 | 18 | |
localhost-100y.cert | D | 12-May-2024 | 2.1 KiB | 35 | 34 | |
localhost-100y.key | D | 12-May-2024 | 3.2 KiB | 53 | 52 | |
minimal-http-server.c | D | 12-May-2024 | 3.9 KiB | 158 | 106 |
README.md
1# lws minimal http server 2 3## build 4 5``` 6 $ cmake . && make 7``` 8## Commandline Options 9 10Option|Meaning 11---|--- 12-d|Set logging verbosity 13-s|Serve using TLS selfsigned cert (ie, connect to it with https://...) 14-v|Connection validity use 3s / 10s instead of default 5m / 5m10s 15 16## usage 17 18``` 19 $ ./lws-minimal-http-server 20[2018/03/04 09:30:02:7986] USER: LWS minimal http server | visit http://localhost:7681 21[2018/03/04 09:30:02:7986] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 on 22``` 23 24Visit http://localhost:7681 25 26