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

Remove allocation of state machine in QuicStream.WriteAsync #103902

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

rzikm
Copy link
Member

@rzikm rzikm commented Jun 24, 2024

The function does not use any using blocks, and always returns after awaiting the task. This needlessly allocates a state machine since the await always yields (we are waiting for callback from msquic)

Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@rzikm rzikm marked this pull request as ready for review June 24, 2024 15:34
@rzikm
Copy link
Member Author

rzikm commented Jun 26, 2024

/ba-g failures are either known or unrelated (wasm library build errors)

@rzikm rzikm merged commit d659dab into dotnet:main Jun 26, 2024
71 of 83 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
@karelz karelz added this to the 9.0.0 milestone Sep 3, 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.

4 participants