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

Closing the HTTP connection does not cancel the Context #101

Closed
floridoo opened this issue Feb 2, 2016 · 0 comments
Closed

Closing the HTTP connection does not cancel the Context #101

floridoo opened this issue Feb 2, 2016 · 0 comments

Comments

@floridoo
Copy link

floridoo commented Feb 2, 2016

If you have e.g. a streaming endpoint sending results from the server in an infinite stream and close the HTTP connection, the grpc server doesn't know about that and keeps waiting for the client to accept more data. To prevent that, the gprc gateway should cancel the context when the HTTP connection is closed.

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

No branches or pull requests

1 participant