mirror of
https://libwebsockets.org/repo/libwebsockets
synced 2024-12-26 15:18:15 +00:00
25 lines
585 B
Markdown
25 lines
585 B
Markdown
# 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.
|
|
|