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

fix: deny connections to peers in the right place #1627

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

Stebalien
Copy link
Member

The previous location would prevent explicit calls to Connect, but not implicit connections on NewStream. Given that the host calls Connect before calling NewStream, it's unclear whether or not this would likely be triggered by user code, but we still need to fix it.

The previous location would prevent explicit calls to `Connect`, but not
implicit connections on `NewStream`. Given that the host calls `Connect`
before calling `NewStream`, it's unclear whether or not this would
likely be triggered by user code, but we still need to fix it.
Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Thank you!

@marten-seemann marten-seemann merged commit a39f547 into master Jul 1, 2022
@Stebalien Stebalien deleted the fix/swarm-deny-peer branch July 1, 2022 18:15
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants