-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transport-manager: Unknown connection opened #172
Comments
The issue could be that after receiving an unknown unknown connection, litep2p/src/transport/manager/mod.rs Lines 980 to 987 in a27d007
but that branch actually doesn't return early with |
Its been a tricky edge-case, will keep an eye for triaging since we might have other minor gaps causing this state reset Detailed repro case
// This is where the state was wrongfully overwritten
// The issue was detected here
|
…#176) This PR ensures that the transport manager rejects secondary connections. When the secondary connection is rejected, the internal `dial_record` is preserved. Added a test to validate this behavior, with multiple wrong endpoints. Part of: #172 Will keep the issue opened for to further into it. cc @paritytech/networking --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Investigate the following errors:
Data collected from a long running litep2p substrate node in kusama
Tasks
The text was updated successfully, but these errors were encountered: