Skip to content
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

Explain why we stay connected on Inbound errors #1629

Merged
merged 1 commit into from
Jan 27, 2021
Merged

Conversation

teor2345
Copy link
Contributor

Motivation

There is a single connection error case where we don't close the peer connection, without any documentation for this special case.

Solution

Add a comment:

We might be syncing using this peer, so it's ok to just ignore any internal errors in their Inbound requests, and drop the request.

Review

This review is less urgent than the hang fixes, so I'm not tagging anyone.

Related Issues

Found when implementing #1620

We might be syncing using this peer, so it's ok to just ignore
any internal errors in their Inbound requests, and drop the
request.
@teor2345 teor2345 added A-docs Area: Documentation C-cleanup Category: This is a cleanup labels Jan 22, 2021
@teor2345 teor2345 added this to the 2021 Sprint 1 milestone Jan 22, 2021
@teor2345 teor2345 self-assigned this Jan 22, 2021
@yaahc yaahc merged commit b551d81 into main Jan 27, 2021
@yaahc yaahc deleted the inbound-error-doc branch January 27, 2021 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation C-cleanup Category: This is a cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants