-
Notifications
You must be signed in to change notification settings - Fork 4
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
Explicit cancellation of streams on client exceptions #211
Conversation
71c1fc8
to
81bb068
Compare
81bb068
to
cf4400a
Compare
9196096
to
ce75d11
Compare
ce75d11
to
c63d5a9
Compare
Using the new `outBodyCancel`, the client can now clearly indicate that it is closing the stream as the result of an exception, and the server can handle it properly.
c63d5a9
to
ab9689a
Compare
I believe this is ready for merge. As far as the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such a relief to get this in!
Explicitly cancel streams upon exiting the scope of
withRPC
. If the stream terminates normally before exitingwithRPC
, our changes to http2 guarantee that this cancellation will be a no-op.