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 in terminate_inactive_connections_loop function in node.cpp #721

Closed
abitmore opened this issue Mar 14, 2018 · 1 comment
Closed

Bug in terminate_inactive_connections_loop function in node.cpp #721

abitmore opened this issue Mar 14, 2018 · 1 comment

Comments

@abitmore
Copy link
Member

As reported by @rabbitHX in steemit/steem#2229, the break at line #1391 of node.cpp seems wrong.

this break cause a escape from "for" so that the bad connection is not "push_back" into peers_to_disconnect_forcibly.

It also prevents other connections from being checked.

@abitmore abitmore added the bug label Mar 14, 2018
@abitmore abitmore changed the title Bug in node.cpp Bug in terminate_inactive_connections_loop function in node.cpp Mar 14, 2018
abitmore added a commit that referenced this issue Mar 16, 2018
Fix #721 disconnect a peer due to request timeout
@oxarbitrage
Copy link
Member

closed by #722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants