MCPcopy Create free account
hub / github.com/ElementsProject/lightning / dns_total_timeout

Function dns_total_timeout

connectd/dns.c:322–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322static void dns_total_timeout(struct dns_lookup *lookup)
323{
324 lookup->total_timer = NULL;
325 lookup->err = tal_fmt(lookup, "dns lookup timed out");
326 dns_finish(lookup); /* Kills the child, if it had one. */
327}
328
329/* If ctx goes away, we vanish too: main job is leaving the queue if we
330 * were still sitting in it. */

Callers

nothing calls this directly

Calls 1

dns_finishFunction · 0.85

Tested by

no test coverage detected