-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Net.QuicenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
Current sync APIs use blocking async calls. We should use native MsQuic sync calls:
runtime/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs
Lines 393 to 399 in 65587ba
| // 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
Labels
area-System.Net.QuicenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions