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

grpc-js: Fix check for whether to send a trailers-only response #2708

Conversation

murgatroid99
Copy link
Member

I think this is the cause of #2707. If headers are queued to send but have not actually been sent because they were blocked by TCP flow control, the server will get to this point and think that it should send a trailers-only response. The new check is more correct anyway: sending a trailers-only response should depend on whether the application has decided to send anything else.

@murgatroid99 murgatroid99 merged commit dac9321 into grpc:@grpc/grpc-js@1.10.x Apr 3, 2024
4 of 5 checks passed
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.

None yet

2 participants