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: Don't end calls when receiving GOAWAY #2319

Conversation

murgatroid99
Copy link
Member

The transport should not report disconnection to its active calls when receiving a GOAWAY, because in general GOAWAYs can allow existing streams to finish on their own, and Node will end the stream directly when that is not the case. Manual testing shows that this change fixes the situation depicted in the new test where a client receives a GOAWAY in the middle of a stream. The test is skipped because on Node versions older than 18, the streams continue after the GOAWAY but end with an error anyway, probably because of nodejs/node#42713.

I think this fixes #2318.

@murgatroid99 murgatroid99 merged commit 3db8acb into grpc:@grpc/grpc-js@1.8.x Jan 11, 2023
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