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

Ensure gRPC ClientStream override methods do not panic #755

Merged
merged 2 commits into from
May 21, 2020

Conversation

realdave
Copy link
Contributor

Previously, the channel used to aggregate the finished state of the stream could be closed while still open to receiving stream state events.

This removes the closing of the channel, and instead adds a "done" channel that is used to skip sending to the channel after the receiver is done.

Fixes #748

Previously, the channel used to aggregate the finished state of the stream
could be closed while still open to receiving stream state events.

This removes the closing of the channel, and instead adds a "done" channel that
is used to skip sending to the channel after the receiver is done.
@realdave realdave force-pushed the 748-prevent-panic branch from 4f8f806 to f9bf364 Compare May 20, 2020 22:08
@MrAlias MrAlias added the blocked:CLA Waiting on CLA to be signed before progress can be made label May 20, 2020
@Aneurysm9 Aneurysm9 removed the blocked:CLA Waiting on CLA to be signed before progress can be made label May 21, 2020
@MrAlias MrAlias merged commit 84a21fe into open-telemetry:master May 21, 2020
@realdave realdave deleted the 748-prevent-panic branch May 21, 2020 15:55
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Panic in gRPC StreamClientInterceptor
5 participants