android13/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
mount-origin initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
minimal-ws-server-pmd-corner.c initial 2024-06-22 20:45:49 +08:00
protocol_lws_minimal.c initial 2024-06-22 20:45:49 +08:00

README.md

lws minimal ws server + permessage-deflate corner case tests

build

 $ cmake . && make

usage

 $ ./lws-minimal-ws-server-pmd-corner
[2018/11/21 16:47:49:0171] USER: LWS minimal ws server + permessage-deflate Corner Cases | visit http://localhost:7681
[2018/11/21 16:47:49:0172] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off

Visit http://localhost:7681

5 ws connections are made via permessage-deflate extension.

When the ws connection is established, various amounts of data are sent resulting in ciphertext packets of a known size.