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

Likely go routine leak of handleSendingMessages #38

Closed
Stebalien opened this issue Sep 29, 2017 · 1 comment · Fixed by #39
Closed

Likely go routine leak of handleSendingMessages #38

Stebalien opened this issue Sep 29, 2017 · 1 comment · Fixed by #39
Assignees
Labels
P0 Critical: Tackled by core team ASAP

Comments

@Stebalien
Copy link
Member

Probably an issue with stream closing versus resetting.

@Stebalien Stebalien self-assigned this Sep 29, 2017
@whyrusleeping
Copy link
Contributor

The leak is coming from the fact that if we never send a message to a peer, then this goroutine will never close: https://github.com/libp2p/go-floodsub/blob/master/comm.go#L56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants