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

server-helper: Fix connection leak by close timing issue. fix #2086 #2087

Merged
merged 2 commits into from
Jul 27, 2018

Conversation

repeatedly
Copy link
Member

@repeatedly repeatedly commented Jul 26, 2018

If clients shutdown the connection immediately, close callback is
sometimes called before connect callback. It causes connection object leak.

Signed-off-by: Masahiro Nakagawa [email protected]

If clients shutdown the connection immediately, `close` callback is
sometimes called before `connect` callback. It causes connection object leak.

Signed-off-by: Masahiro Nakagawa <[email protected]>
@repeatedly repeatedly added bug Something isn't working v1 labels Jul 26, 2018
@repeatedly repeatedly self-assigned this Jul 26, 2018
@repeatedly repeatedly requested a review from cosmo0920 July 26, 2018 06:18
Copy link
Contributor

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

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

Looks good. 👍

@repeatedly
Copy link
Member Author

@cosmo0920 Thanks for the review. I noticed addtional bug and add more commit. Could you re-check again?

@cosmo0920
Copy link
Contributor

Oops, I didn't notice about #close arity mistake.
It also looks good to me.

@repeatedly repeatedly merged commit 8a804b7 into master Jul 27, 2018
@okkez okkez deleted the fix-server-connection-leak branch July 31, 2018 09:09
@okkez okkez restored the fix-server-connection-leak branch July 31, 2018 09:09
@ganmacs ganmacs deleted the fix-server-connection-leak branch July 11, 2019 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants