use proper IO in ssl handshake (#32013)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Thu, 13 Feb 2020 23:07:49 +0000 (15:07 -0800)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2020 23:07:49 +0000 (15:07 -0800)
commit844618c70cb99fdabbd748860f7fbef465884307
tree6021e37934543b7b64cba1dcab154234dcae9b44
parent0e0e852e83d5f30dfeeef7ac4999873ee10f9a4b
use proper IO in ssl handshake (#32013)

* use proper IO in ssl handshake

* fix UnitTests/Fakes

* feedback from review

* rename adapters to SyncSslIOAdapter and AsyncSslIOAdapter

* feedback from review
src/libraries/System.Net.Security/src/System/Net/Security/SslStream.Implementation.Adapters.cs
src/libraries/System.Net.Security/src/System/Net/Security/SslStream.Implementation.cs
src/libraries/System.Net.Security/src/System/Net/Security/SslStream.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs
src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs