Skip to content

[QUIC] Optimize stream reads #42651

Closed
Closed
@scalablecory

Description

@scalablecory

The way we are implementing stream reads means we will often have more async/await overhead than is needed.

Instead of having an internal resettable task that we always await inside of ReadAsync, we should return a resettable task and have the MsQuic callback manage completing it. This will allow us to avoid an async state machine in ReadAsync().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions