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

Function conn_timeout

connectd/connectd.c:482–487  ·  view source on GitHub ↗

~ If the timer goes off, we simply free everything, which hangs up. */

Source from the content-addressed store, hash-verified

480
481/*~ If the timer goes off, we simply free everything, which hangs up. */
482static void conn_timeout(struct io_conn *conn)
483{
484 status_debug("conn timed out");
485 errno = ETIMEDOUT;
486 io_close(conn);
487}
488
489/* Incoming connection which hasn't sent init yet. */
490struct pending_in {

Callers 1

conn_in_timeoutFunction · 0.85

Calls 1

io_closeFunction · 0.85

Tested by

no test coverage detected