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
SimpleChannelPool#notifyConnect() may leak Channels #5553
Comments
@rkapsi good catch! Let me come up with a fix |
normanmaurer
added a commit
that referenced
this issue
Jul 20, 2016
Motivation: The SimpleChannelPool#notifyConnect() method will leak Channels if the user cancelled the Promise in between. Modifications: Release the channel if the Promise was complete before. Result: No more channel leaks.
normanmaurer
added a commit
that referenced
this issue
Jul 20, 2016
Motivation: The SimpleChannelPool#notifyConnect() method will leak Channels if the user cancelled the Promise in between. Modifications: Release the channel if the Promise was complete before. Result: No more channel leaks.
normanmaurer
added a commit
that referenced
this issue
Jul 20, 2016
Motivation: The SimpleChannelPool#notifyConnect() method will leak Channels if the user cancelled the Promise in between. Modifications: Release the channel if the Promise was complete before. Result: No more channel leaks.
Fixed by #5557 |
liuzhengyang
pushed a commit
to liuzhengyang/netty
that referenced
this issue
Sep 10, 2017
Motivation: The SimpleChannelPool#notifyConnect() method will leak Channels if the user cancelled the Promise in between. Modifications: Release the channel if the Promise was complete before. Result: No more channel leaks.
pulllock
pushed a commit
to pulllock/netty
that referenced
this issue
Oct 19, 2023
Motivation: The SimpleChannelPool#notifyConnect() method will leak Channels if the user cancelled the Promise in between. Modifications: Release the channel if the Promise was complete before. Result: No more channel leaks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I just stumbled onto this one. The
SimpleChannelPool#notifyConnect()
method will leak Channels if the user cancelled the Promise.The text was updated successfully, but these errors were encountered: