Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
mount-origin/ | 12-May-2024 | - | 1,247 | 1,053 | ||
CMakeLists.txt | D | 12-May-2024 | 2.3 KiB | 84 | 74 | |
README.md | D | 12-May-2024 | 1,015 | 27 | 20 | |
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-generic-sessions.c | D | 12-May-2024 | 5.9 KiB | 203 | 164 |
README.md
1# lws minimal http server with generic-sessions 2 3## build 4 5``` 6 $ cmake . && make 7``` 8 9## usage 10 11``` 12 $ ./lws-minimal-http-server-tls 13[2018/03/20 13:23:13:0131] USER: LWS minimal http server TLS | visit https://localhost:7681 14[2018/03/20 13:23:13:0142] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 off 15[2018/03/20 13:23:13:0142] NOTICE: Using SSL mode 16[2018/03/20 13:23:13:0146] NOTICE: SSL ECDH curve 'prime256v1' 17[2018/03/20 13:23:13:0146] NOTICE: HTTP2 / ALPN enabled 18[2018/03/20 13:23:13:0195] NOTICE: lws_tls_client_create_vhost_context: doing cert filepath localhost-100y.cert 19[2018/03/20 13:23:13:0195] NOTICE: Loaded client cert localhost-100y.cert 20[2018/03/20 13:23:13:0195] NOTICE: lws_tls_client_create_vhost_context: doing private key filepath 21[2018/03/20 13:23:13:0196] NOTICE: Loaded client cert private key localhost-100y.key 22[2018/03/20 13:23:13:0196] NOTICE: created client ssl context for default 23[2018/03/20 13:23:14:0207] NOTICE: vhost default: cert expiry: 730459d 24``` 25 26 27