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

Function connect_out

connectd/tor.c:131–138  ·  view source on GitHub ↗

called when TOR responds */

Source from the content-addressed store, hash-verified

129
130/* called when TOR responds */
131static struct io_plan *connect_out(struct io_conn *conn,
132 struct connecting_socks *connect)
133{
134 return io_read(conn, connect->buffer,
135 SIZE_OF_IPV4_RESPONSE + SIZE_OF_RESPONSE,
136 &connect_finish, connect);
137
138}
139
140static struct io_plan *io_tor_connect_after_resp_to_connect(struct io_conn
141 *conn,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected