don't send server_name when literal IP (#81631)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Wed, 8 Feb 2023 20:14:31 +0000 (12:14 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2023 20:14:31 +0000 (12:14 -0800)
commit1019ad8453db22a69c87fd66453a12c77d274fe7
tree6d6625903196a5231c4311248280c7e6a2f7163b
parent0304f1f5157a8280fa093bdfc7cfb8d9f62e016f
don't send server_name when literal IP (#81631)

* don't send server_name when literal IP

* fix unit test
src/libraries/System.Net.Security/src/System.Net.Security.csproj
src/libraries/System.Net.Security/src/System/Net/Security/SslAuthenticationOptions.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs
src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj