rgb-cln/connectd
Rusty Russell c98734e0a4 connectd: don't ignore requests to connect if we're shutting down.
We used to shut down peers atomically, but now we flush the
connections there's a delay.  If we are asked to connect in that time,
we ignore it, as we are already connected, but that's wrong: we need
to remember that we were told to connect and reconnect.

This should solve a few weird test failures where "connect" would hang
indefinitely.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-01-20 15:24:06 +10:30
..
test connectd: keep timeout timer around so we can disable it. 2022-01-20 15:24:06 +10:30
Makefile connectd: serve gossip_store file for the peer. 2022-01-20 15:24:06 +10:30
connectd.c connectd: don't ignore requests to connect if we're shutting down. 2022-01-20 15:24:06 +10:30
connectd.h connectd: don't just close to peer, but use shutdown(). 2022-01-20 15:24:06 +10:30
connectd_gossipd_wire.csv connectd: get addresses from lightningd, not gossipd. 2022-01-20 15:24:06 +10:30
connectd_wire.csv connectd: get addresses from lightningd, not gossipd. 2022-01-20 15:24:06 +10:30
handshake.c connectd: keep timeout timer around so we can disable it. 2022-01-20 15:24:06 +10:30
handshake.h connectd: keep timeout timer around so we can disable it. 2022-01-20 15:24:06 +10:30
multiplex.c connectd: make sure we io_log msgs doing to gossipd. 2022-01-20 15:24:06 +10:30
multiplex.h connectd: don't just close to peer, but use shutdown(). 2022-01-20 15:24:06 +10:30
netaddress.c bolt7: allow announcement of ADDR_TYPE_DNS 2021-11-30 09:38:17 +10:30
netaddress.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
peer_exchange_initmsg.c connectd: drop support (unused) for @ during handshake. 2022-01-20 15:24:06 +10:30
peer_exchange_initmsg.h connectd: keep timeout timer around so we can disable it. 2022-01-20 15:24:06 +10:30
sha1.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
sha1.h lightning_websocketd: simple proxy for websockets. 2021-10-22 11:56:30 +02:00
tor.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c wireaddr: clean up tor parsing. 2021-11-14 18:49:46 +01:00
tor_autoservice.h wireaddr: clean up tor parsing. 2021-11-14 18:49:46 +01:00
websocketd.c lightning_websocketd: simple proxy for websockets. 2021-10-22 11:56:30 +02:00