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

set end_stream=True when sending trailers #255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adambudziak
Copy link

@adambudziak adambudziak commented Aug 31, 2024

Explanation in #254

If the approach is approved (I assume details might be wrong) then I'll gladly add some tests to prevent regressions.

I ran tox and only mypy seems to be failing.

I tested manually with some grpc clients and they show the response properly (I tested unary and streaming responses and it looks good)

Not sure how to handle it with more_trailers=True, but I don't understand how it's supposed to work in general since http2 requires END_STREAM being set for trailers frame (I assume that more_trailers implies a new frame, but maybe not?)

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.

1 participant