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
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
..
minimal-secure-streams lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-alexa lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-avs lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-client-tx minimal-ss-client-tx: add -c flag for count of rx to get 2021-02-26 08:23:12 +00:00
minimal-secure-streams-cpp wip: ss c++ classes 2020-12-02 10:15:50 +00:00
minimal-secure-streams-hugeurl ss: support huge urls 2021-03-05 14:13:26 +00:00
minimal-secure-streams-metadata LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-metrics-proxy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-policy2c ip tos support 2021-02-04 10:28:02 +00:00
minimal-secure-streams-post lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-proxy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-seq LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-server LE-root-cert-update 2021-01-13 04:32:13 +00:00
minimal-secure-streams-server-raw type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-secure-streams-sigv4 sigv4: allow arbitrary hash payloads 2021-01-29 15:53:49 +00:00
minimal-secure-streams-smd lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-staticpolicy lws_metrics 2021-03-08 21:47:28 +00:00
minimal-secure-streams-testsfail client: DNS failure should retry while waiting for connect timeout 2021-03-11 06:58:59 +00:00
README.md client: secure streams 2020-03-04 12:17:49 +00:00

Secure Streams

Secure Streams is a client API that strictly decouples the policy for connections from the payloads. The user code only deals with the stream type name and payloads, a policy database set at lws_context creation time decides all policy about the connection, including the endpoint, tls CA, and even the wire protocol.

name demonstrates
minimal-secure-streams Minimal secure streams client / proxy example
minimal-secure-streams-tx Proxy used for client-tx test below
minimal-secure-streams-client-tx Secure streams client showing tx and rx