Skip to content

[QUIC] Support synchronous QUIC APIs #32076

@scalablecory

Description

@scalablecory

Current sync APIs use blocking async calls. We should use native MsQuic sync calls:

// TODO consider removing sync-over-async with blocking calls.
internal override int Read(Span<byte> buffer)
{
ThrowIfDisposed();
return ReadAsync(buffer.ToArray()).GetAwaiter().GetResult();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.QuicenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions