Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Handle packet loss more reliably #12

Open
canndrew opened this issue May 25, 2018 · 0 comments
Open

Handle packet loss more reliably #12

canndrew opened this issue May 25, 2018 · 0 comments

Comments

@canndrew
Copy link
Contributor

Investigating maidsafe-archive/crust#959, this seems to be due to UtpStreams not reliably sending data over lossy connections. Some of the things I've seen are: peer A initiates a connection, peer B accepts the connection, but peer A times out thinking the connection was never accepted (indicating a SYN-ACK getting lost); peer A and B connect at the UTP level then peer A sends a "CHOOSE" message but peer B never receives it.

In fixing this bug we should write a netsim-based test to make sure we can connect/accept over a lossy connecting and reliably exchange messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant