You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NegotiateStream and SslStream will no longer fail on multiple Begin operations without End #20865
They still may throw an exception, they're just not guaranteed to. The streams don't support two read operations at the same time, or two write operations at the same time, so if you call BeginXx a second time before the first has completed, it should still throw, yes?
Activity
stephentoub commentedon Oct 1, 2020
They still may throw an exception, they're just not guaranteed to. The streams don't support two read operations at the same time, or two write operations at the same time, so if you call BeginXx a second time before the first has completed, it should still throw, yes?
wfurt commentedon Oct 6, 2020
yes. Calling ReadAsync twice in parallel (and that include Begin* pattern) will still throw NotSupportedException.
Fixes dotnet#20865.