1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail
Andy Green 9d13b97e37 client: DNS failure should retry while waiting for connect timeout
If the DNS lookup fails, we just sit out the remaining connect time.

The adapts it to reuse the wsi->sul_connect_timeout to schedule DNS lookup
retries until we're out of time.

Eventually we want to try other things as well, this is aligned with that.

Found with fault injection.
2021-03-11 06:58:59 +00:00
..
CMakeLists.txt client: DNS failure should retry while waiting for connect timeout 2021-03-11 06:58:59 +00:00
minimal-secure-streams-testsfail.c client: DNS failure should retry while waiting for connect timeout 2021-03-11 06:58:59 +00:00
README.md ss: minimal example: testsfail 2020-12-24 16:14:36 +00:00

lws minimal secure streams

The application runs some bulk and failure path tests on Secure Streams

build

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
--amount Set the amount of bulk data expected, eg, --amount 23456