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

bug: blocking peer over RPC does not block us from handling their EDS requests #2146

Open
Tracked by #2106
distractedm1nd opened this issue Apr 28, 2023 · 1 comment
Assignees
Labels
area:shares Shares and samples bug Something isn't working

Comments

@distractedm1nd
Copy link
Member

I believe the stream shouldnt even be opened when we block a peer, but this isn't happening for shrexeds server when we block a peer

@distractedm1nd distractedm1nd added bug Something isn't working area:shares Shares and samples labels Apr 28, 2023
@distractedm1nd distractedm1nd self-assigned this Apr 28, 2023
@renaynay
Copy link
Member

// BlockPeer adds a peer to the set of blocked peers.
// Note: active connections to the peer are not automatically closed.
func (cg *BasicConnectionGater) BlockPeer(p peer.ID) error {

@distractedm1nd - there would need to be a manual disconnect as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants