Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented Feb 10, 2020

This is a fragment of deprecated #1949.
With #453, we start using Span inside of SslStream.
However, it was not easy to pass it all the way to native calls using ArraySegment.
Also Windows.PAL is the only platform using ArraySegment.

This is not functional change.
The sole purpose is the ability to pass Span from SslStream and make all three PAL implementations more consistent.
Since Span is ref struct, we need ref struct wrapper to pass it through the layers.
There will be more change to SslStream itself but this PR raves out changes to Windows PAL.

@wfurt wfurt added enhancement Product code improvement that does NOT require public API changes/additions area-System.Net.Security labels Feb 10, 2020
@wfurt wfurt self-assigned this Feb 10, 2020
@wfurt wfurt requested review from a team and stephentoub February 10, 2020 03:32
@wfurt wfurt merged commit 25c092a into dotnet:master Feb 11, 2020
@wfurt wfurt deleted the spanPAL branch February 11, 2020 00:20
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants