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

Avoid unobserved task exceptions in Http tests #104384

Merged
merged 6 commits into from
Jul 5, 2024

Conversation

MihaZupan
Copy link
Member

Contributes to #80111 (comment) by removing most unobserved non-Quic exceptions from our HTTP tests.

The only product change is the 1 added LogExceptions in Http2Connection.cs.

@MihaZupan MihaZupan added this to the 9.0.0 milestone Jul 3, 2024
@MihaZupan MihaZupan requested a review from a team July 3, 2024 16:32
@MihaZupan MihaZupan self-assigned this Jul 3, 2024
@@ -496,6 +496,7 @@ private async Task ProcessIncomingFramesAsync()
catch (HttpProtocolException e)
{
InitialSettingsReceived.TrySetException(e);
LogExceptions(InitialSettingsReceived.Task);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InitialSettingsReceived isn't guaranteed to be await'd/consumed elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we'll only look at it if/when we're sending an H2 WebSocket request.

@MihaZupan MihaZupan merged commit bd752c3 into dotnet:main Jul 5, 2024
83 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants