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

Don't panic in pump_write when a client is dropped and there are more calls to poll. #221

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

tikue
Copy link
Collaborator

@tikue tikue commented Apr 11, 2019

This can happen in cases where a response is being read and the client isn't around.

Fixes #220

… calls to poll.

This can happen in cases where a response is being read and the client isn't around.

Fixes google#220
@tikue tikue self-assigned this Apr 11, 2019
@tikue
Copy link
Collaborator Author

tikue commented Apr 11, 2019

@d1vyank let me know if this fixes it for you.

@d1vyank
Copy link

d1vyank commented Apr 11, 2019

@d1vyank let me know if this fixes it for you.

It does, thanks!

PS: the CI fails because futures-preview does not compile with the current nightly: rust-lang/futures-rs#1518

@tikue tikue merged commit b1cd5f3 into google:master Apr 15, 2019
@tikue tikue deleted the fix-cancel-panic branch July 10, 2019 22:51
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.

tarpc client occasionally panics during multiple in-flight requests
2 participants