-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
T-implementationthis issue/pr is a new feature or functionality.this issue/pr is a new feature or functionality.
Description
Issue summary
from design doc:
fter investigation into the stream handlers, it looks like we do not currently support detection of
EOForErrClosedPipewhen reading from the stream, which we need to capture and propagate back to the networking stack to remove the peer from the peerset, and thepeerViewSet.
Implementation details
- Capture
EOForErrrClosedPipeon any libp2p stream handler and propagate back topeerViewSet. - On capture of these stream specific errors, the peer should be removed from the peerset.
Other information and links
Acceptance criteria
[] Peer should be removed from peerset when connection is determined to be terminated.
[] Unit test coverage of said sceneario.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T-implementationthis issue/pr is a new feature or functionality.this issue/pr is a new feature or functionality.
Type
Projects
Status
Todo