core-lightning/connectd
Rusty Russell d29795a198 connectd: don't just close to peer, but use shutdown().
We would lose packets sometimes due to this previously, but it
doesn't happen over localhost so our tests didn't notice.  However,
now we have connectd being sole thing talking to peers, we can do
a more elegant shutdown, which should fix closing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: Always flush sockets to increase chance that final message get to peer (esp. error packets).
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
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
connectd.c connectd: don't just close to peer, but use shutdown(). 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
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
Makefile connectd: serve gossip_store file for the peer. 2022-01-20 15:24:06 +10:30
multiplex.c connectd: don't just close to peer, but use shutdown(). 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_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
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
websocketd.c lightning_websocketd: simple proxy for websockets. 2021-10-22 11:56:30 +02:00