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

[Issue 644] Drain connection requests channel without closing #645

Merged

Conversation

cckellogg
Copy link
Contributor

@cckellogg cckellogg commented Oct 20, 2021

Fixes #644

Avoid closing the requests channel in the connection struct to avoid potential writes on a closed channel. If another request is added after the drain message than the RPC client should eventually timeout and return an error.

@merlimat merlimat added this to the 0.7.0 milestone Oct 20, 2021
@merlimat merlimat merged commit 81f3830 into apache:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic: send on closed channel
2 participants