Skip to content

Conversation

@radik878
Copy link
Contributor

Implemented CanDisconnect for ProtocolProxy by adding a dedicated disconnect control channel to signal the underlying P2PStream.
Hooked the disconnect signal into both the handshake loop and RlpxSatelliteStream::poll_next, invoking start_disconnect on the connection.
.

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think not having this is fine because if the stream is terminated this would trigger a disconnect anyway

@mattsse mattsse closed this Oct 23, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Oct 23, 2025
@radik878
Copy link
Contributor Author

I think not having this is fine because if the stream is terminated this would trigger a disconnect anyway

could i remove todo then or leave it as is is fine?

@mattsse
Copy link
Collaborator

mattsse commented Oct 23, 2025

I'm okay with removing the todo yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants