1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/system/async-dns
Andy Green 27cc9e33e0 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-10 20:30:51 +00:00
..
async-dns-parse.c client: DNS failure should retry while waiting for connect timeout 2021-03-10 20:30:51 +00:00
async-dns.c client: DNS failure should retry while waiting for connect timeout 2021-03-10 20:30:51 +00:00
private-lib-async-dns.h lws_metrics 2021-03-08 21:47:28 +00:00