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

Setting HasStarted to true when calling StartAsync #1808

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

Conversation

bozalina
Copy link

@bozalina bozalina commented Sep 9, 2024

Description of changes:
This fixes a bug when running a gRPC-Web service in Lambda where trailers are not properly written as part of the response payload because the response feature hasn't been marked as started. The check for HasStarted when selecting the trailers destination in gRPC .NET is here.

Calling StartAsync now marks the response feature as started. I also added unit tests to check the default value for HasStarted and the value after calling StartAsync.

Unit tests are passing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bhoradc bhoradc requested a review from normj September 13, 2024 16:29
@bhoradc
Copy link

bhoradc commented Sep 27, 2024

Hi @bozalina,

Thank you for contributing the PR. Our team will review it and get back to you as soon we can.

Regards,
Chaitanya

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.

2 participants