1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/system
Andy Green efc35fe1e1 async dns: recursion
Handle the situation that we are told to use a CNAME, but the CNAME is not resolved
by the remote server... adapt the query to resolve the CNAME and restart it, while
retaining the original query name for the cache entry generation.

"Recursion" doesn't mean function-calling-a-function type recursion, it remains
completely asynchronous on the event loop.
2019-10-13 11:55:59 +01:00
..
async-dns async dns: recursion 2019-10-13 11:55:59 +01:00
dhcpclient lws_system: dhcpclient 2019-10-12 12:41:14 +01:00
ntpclient lws_system: ntpclient 2019-10-10 16:34:37 +01:00
README.md lws_state and system state 2019-09-22 09:35:07 -07:00
system.c lws_system: auth token handling using buflist 2019-10-12 12:41:14 +01:00

LWS System Helpers

Lws now has a little collection of helper utilities for common network-based functions necessary for normal device operation, eg, async DNS, ntpclient (necessary for tls validation), and DHCP client.

Conventions

If any system helper is enabled for build, lws creates an additional vhost "system" at Context Creation time. Wsi that are created for the system features are bound to this. In the context object, this is available as .vhost_system.