Fix and re-enable some HttpListener authentication tests (dotnet/corefx#36084)
authorDavid Shulman <david.shulman@microsoft.com>
Sat, 16 Mar 2019 01:21:24 +0000 (18:21 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2019 01:21:24 +0000 (18:21 -0700)
commita5e04db4c44a5dec87f7a6954b08c9bc8fac3fda
tree7b6f9627026d9f7bcf34a5dfb4845323ec426544
parent87ebafd667839b124990b274581243a38cfa926a
Fix and re-enable some HttpListener authentication tests (dotnet/corefx#36084)

The Negotiate and NTLM HttpListener tests were disabled due to a behavior of running them
on loopback using an HttpClient with WinHttpHandler. But now the default handler for HttpClient
is SocketsHttpHandler. And it doesn't have this problem with loopback authentication.

Closes dotnet/corefx#20604

Commit migrated from https://github.com/dotnet/corefx/commit/decd797ca84aca0f4b8ca4b6e5f9c7b818bd2967
src/libraries/System.Net.HttpListener/tests/HttpListenerAuthenticationTests.cs