Skip to content

Rewrite NegotiateStream with async/await #36572

@stephentoub

Description

@stephentoub

There's a ton of cruft here based on the implementation using Begin/End, and it's the last reason we need to keep the LazyAsyncResult implementation in System.Net.Security. But more importantly, cancellation is currently effectively a nop with NegotiateStream because the XxAsync methods are implemented on top of the Begin/EndXx methods, which don't support cancellation.

Metadata

Metadata

Assignees

Labels

area-System.Net.SecurityenhancementProduct code improvement that does NOT require public API changes/additionstenet-reliabilityReliability/stability related issue (stress, load problems, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions