1
0
Fork 0
mirror of https://libwebsockets.org/repo/libwebsockets synced 2025-08-28 11:10:11 +00:00
libwebsockets/minimal-examples-lowlevel/secure-streams/minimal-secure-streams-stress
2025-07-05 13:38:01 +01:00
..
CMakeLists.txt cmake: set minimum to 3.10 2025-06-19 14:48:23 +01:00
minimal-secure-streams.c ss: reduce logging and state type 2025-07-05 13:38:01 +01:00
README.md examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00

lws minimal secure streams stress

This is the same as minimal-secure-streams, except you can have it perform concurrent SS connections and a budget of sequential connections.

It basically forks as many times as -c <concurrent> and each fork does --budget <count> SS connections one after the other.

build

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
-c Fork this many times on init
--budget Each fork sequentially does this many SS connections (default 1)
--pass-limit By default the pass limit is the budget, but if doing fault injection you can set a lower limit here