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

Don't send event::Heartbeat to unauthenticated peers #7747

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

Al2Klimov
Copy link
Member

@Al2Klimov Al2Klimov commented Jan 13, 2020

fixes #7746
closes #7698

@Al2Klimov Al2Klimov added this to the 2.13.0 milestone Jan 13, 2020
@Al2Klimov Al2Klimov marked this pull request as ready for review January 13, 2020 10:35
@mcktr
Copy link
Member

mcktr commented Jan 20, 2020

Hi,

I've created #7698 as a draft a while ago which also aims to fix the problem. I took another approach i.e. to not spawn a coroutine to send heartbeat messages on unauthenticated peers. #7698 has the disadvantage that the disconnect/timeout logic is not executed.

Whats your opinion @Al2Klimov? Feel free to close #7698, so we can focus on/test one patch.

@mcktr mcktr added the area/distributed Distributed monitoring (master, satellites, clients) label Jan 20, 2020
@Al2Klimov
Copy link
Member Author

In opposite to #7698 I preserve this one.

@dnsmichi
Copy link
Contributor

dnsmichi commented Feb 5, 2020

@lippserd I'd opt for adding this to 2.12, avoiding a possible leak.

@lippserd
Copy link
Member

lippserd commented Feb 5, 2020

@dnsmichi Yep, sounds good!

@dnsmichi dnsmichi modified the milestones: 2.13.0, 2.12.0 Feb 5, 2020
@dnsmichi
Copy link
Contributor

dnsmichi commented Feb 5, 2020

@lippserd Thanks 👍

@dnsmichi dnsmichi merged commit bf2d6ab into master Feb 6, 2020
@dnsmichi dnsmichi deleted the bugfix/heartbeat-unauthenticated-7746 branch February 6, 2020 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/distributed Distributed monitoring (master, satellites, clients)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

event::Heartbeat is sent to unauthenticated peers
4 participants