use configuration for invalid host name (dotnet/corefx#41083)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Fri, 13 Sep 2019 13:40:36 +0000 (06:40 -0700)
committerStephen Toub <stoub@microsoft.com>
Fri, 13 Sep 2019 13:40:36 +0000 (09:40 -0400)
commit4b7edb600369156ae7108980727890611ba8b33a
treeb241bedd81cd0f2cce336ff907ccde8244ace89d
parente3f67d148aaceea7fdf049de6c44445cb5151027
use configuration for invalid host name (dotnet/corefx#41083)

Commit migrated from https://github.com/dotnet/corefx/commit/19ea63fee517327e1f6fbfa730300ddef5ef8a3b
src/libraries/Common/tests/System/Net/Configuration.Sockets.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
src/libraries/System.Net.Sockets/tests/FunctionalTests/DnsEndPointTest.cs