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

[release-v1.5] rpcwebsocket: Use nonblocking messages and ntfns. #2050

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jan 28, 2020

This is a backport of #2026 to the 1.5 release branch.

All sends to channels that are serviced by separate goroutines that can be shutdown via a quit channel need to ensure they select across that quit channel when sending to the associated channel to ensure they can't end up blocking on the send during shutdown.

All sends to channels that are serviced by separate goroutines that can
be shutdown via a quit channel need to ensure they select across that
quit channel when sending to the associated channel to ensure they can't
end up blocking on the send during shutdown.
@davecgh davecgh added this to the 1.5.1 milestone Jan 28, 2020
@davecgh davecgh merged commit 5c985d9 into decred:release-v1.5 Jan 28, 2020
@davecgh davecgh deleted the backport_rpcserver_nonblocking_enqueue branch January 28, 2020 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants