aboutsummaryrefslogtreecommitdiffstats
path: root/docs/guides/federation/remakes.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-22 12:00:44 +0000
committertv <tv@krebsco.de>2026-11-22 12:00:44 +0000
commit448089f452025ec8c655532c758ea6ca9520b6ae (patch)
tree9359c5769217293a44f6ddaf98af398e0663782b /docs/guides/federation/remakes.md
parent46dbc0a3485f1d5d7624a0e450d51f4866a840ff (diff)
libp2p: room for inbound streams that come in at once
libp2p-stream hands each inbound stream to the consumer through a channel with room for one (Control::accept, mpsc::channel(0), try_send): one arriving while another waits is dropped, unread, logged at debug under libp2p's target alone. Messages sent to a node at once were lost but one, and a proof is two since wire versions side by side (SPEAKS, then WHO): a joiner's WHO went unanswered until RESOLVE_TIMEOUT, 10 s, and nodes_over_libp2p failed now and then. The transport accepts with Control::accept_with_buffer, with room for as many streams as it reads at once (WAITING, READS + STRANGER_READS): beyond them, one is dropped still. messages_sent_at_once_all_come_in sends 30 at once from three peers; without this, 3 to 7 came in.
Diffstat (limited to 'docs/guides/federation/remakes.md')
0 files changed, 0 insertions, 0 deletions